MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_nonempty_maildir_both

Method test_nonempty_maildir_both

Lib/test/test_mailbox.py:2381–2389  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2379 self.assertIsNone(self.mbox.next())
2380
2381 def test_nonempty_maildir_both(self):
2382 self.createMessage("cur")
2383 self.createMessage("new")
2384 self.mbox = mailbox.Maildir(os_helper.TESTFN)
2385 #self.assertEqual(len(self.mbox.boxes), 2)
2386 self.assertIsNotNone(self.mbox.next())
2387 self.assertIsNotNone(self.mbox.next())
2388 self.assertIsNone(self.mbox.next())
2389 self.assertIsNone(self.mbox.next())
2390
2391## End: tests from the original module (for backward compatibility).
2392

Callers

nothing calls this directly

Calls 4

createMessageMethod · 0.95
assertIsNotNoneMethod · 0.80
assertIsNoneMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected