Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ setUp
Method
setUp
Lib/test/test_pkgutil.py:567–569 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
565
class
NestedNamespacePackageTest(unittest.TestCase):
566
567
def
setUp(self):
568
self.basedir = tempfile.mkdtemp()
569
self.old_path = sys.path[:]
570
571
def
tearDown(self):
572
sys.path[:] = self.old_path
Callers
nothing calls this directly
Calls
1
mkdtemp
Method · 0.80
Tested by
no test coverage detected