MCPcopy Index your code
hub / github.com/python/cpython / test_nonempty_maildir_new

Method test_nonempty_maildir_new

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

Source from the content-addressed store, hash-verified

2386 self.assertIsNone(self.mbox.next())
2387
2388 def test_nonempty_maildir_new(self):
2389 self.createMessage("new")
2390 self.mbox = mailbox.Maildir(os_helper.TESTFN)
2391 #self.assertEqual(len(self.mbox.boxes), 1)
2392 self.assertIsNotNone(self.mbox.next())
2393 self.assertIsNone(self.mbox.next())
2394 self.assertIsNone(self.mbox.next())
2395
2396 def test_nonempty_maildir_both(self):
2397 self.createMessage("cur")

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