MCPcopy Create free account
hub / github.com/ipython/ipython / setUp

Method setUp

IPython/extensions/tests/test_autoreload.py:73–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71 filename_chars = "abcdefghijklmopqrstuvwxyz0123456789"
72
73 def setUp(self):
74 self.test_dir = tempfile.mkdtemp()
75 self.old_sys_path = list(sys.path)
76 sys.path.insert(0, self.test_dir)
77 self.shell = FakeShell()
78
79 def tearDown(self):
80 shutil.rmtree(self.test_dir)

Callers

nothing calls this directly

Calls 1

FakeShellClass · 0.85

Tested by

no test coverage detected