MCPcopy Create free account
hub / github.com/python-pendulum/pendulum / __exit__

Method __exit__

src/pendulum/testing/traveller.py:148–154  ·  view source on GitHub ↗
(
                self,
                exc_type: type[BaseException] | None,
                exc_val: BaseException | None,
                exc_tb: TracebackType,
            )

Source from the content-addressed store, hash-verified

146 return self
147
148 def __exit__(
149 self,
150 exc_type: type[BaseException] | None,
151 exc_val: BaseException | None,
152 exc_tb: TracebackType,
153 ) -> None:
154 self.travel_back()
155
156 else:
157

Callers

nothing calls this directly

Calls 1

travel_backMethod · 0.95

Tested by

no test coverage detected