MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / __exit__

Method __exit__

tests/test_version.py:30–31  ·  view source on GitHub ↗
(self, *excinfo)

Source from the content-addressed store, hash-verified

28 os.chdir(self.path)
29
30 def __exit__(self, *excinfo) -> None:
31 os.chdir(self._old_cwd.pop())
32
33
34def _load_version():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected