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

Method tearDown

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

Source from the content-addressed store, hash-verified

77 self.shell = FakeShell()
78
79 def tearDown(self):
80 shutil.rmtree(self.test_dir)
81 sys.path = self.old_sys_path
82
83 self.test_dir = None
84 self.old_sys_path = None
85 self.shell = None
86
87 def get_module(self):
88 module_name = "tmpmod_" + "".join(random.sample(self.filename_chars,20))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected