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

Method tearDown

IPython/core/tests/test_run.py:468–471  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

466 """.format(package))
467
468 def tearDown(self):
469 os.chdir(self.__orig_cwd)
470 sys.path[:] = [p for p in sys.path if p != self.tempdir.name]
471 self.tempdir.cleanup()
472
473 def check_run_submodule(self, submodule, opts=''):
474 _ip.user_ns.pop('x', None)

Callers

nothing calls this directly

Calls 1

cleanupMethod · 0.45

Tested by

no test coverage detected