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

Method __exit__

IPython/utils/tempdir.py:55–57  ·  view source on GitHub ↗
(self, exc, value, tb)

Source from the content-addressed store, hash-verified

53 return super(TemporaryWorkingDirectory, self).__enter__()
54
55 def __exit__(self, exc, value, tb):
56 _os.chdir(self.old_wd)
57 return super(TemporaryWorkingDirectory, self).__exit__(exc, value, tb)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected