Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
179
class
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
lexists
Method · 0.45
unlink
Method · 0.45
Tested by
no test coverage detected