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

Method setUp

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

Source from the content-addressed store, hash-verified

606 _factory = lambda self, path, factory=None: mailbox.Maildir(path, factory)
607
608 def setUp(self):
609 TestMailbox.setUp(self)
610 if (os.name == 'nt') or (sys.platform == 'cygwin'):
611 self._box.colon = '!'
612
613 def assertMailboxEmpty(self):
614 self.assertEqual(os.listdir(os.path.join(self._path, 'tmp')), [])

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected