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

Method setUp

Lib/test/test_os/test_os.py:1036–1042  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1034
1035class UtimeTests(unittest.TestCase):
1036 def setUp(self):
1037 self.dirname = os_helper.TESTFN
1038 self.fname = os.path.join(self.dirname, "f1")
1039
1040 self.addCleanup(os_helper.rmtree, self.dirname)
1041 os.mkdir(self.dirname)
1042 create_file(self.fname)
1043
1044 def support_subsecond(self, filename):
1045 # Heuristic to check if the filesystem supports timestamp with

Callers

nothing calls this directly

Calls 4

addCleanupMethod · 0.80
create_fileFunction · 0.70
joinMethod · 0.45
mkdirMethod · 0.45

Tested by

no test coverage detected