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

Method setUp

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

Source from the content-addressed store, hash-verified

178# Tests creating TESTFN
179class FileTests(unittest.TestCase):
180 def setUp(self):
181 if os.path.lexists(os_helper.TESTFN):
182 os.unlink(os_helper.TESTFN)
183 tearDown = setUp
184
185 def test_access(self):

Callers

nothing calls this directly

Calls 2

lexistsMethod · 0.45
unlinkMethod · 0.45

Tested by

no test coverage detected