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

Method travel_back

src/pendulum/testing/traveller.py:82–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 return self
81
82 def travel_back(self) -> Self:
83 if not self._started:
84 return self
85
86 cast("time_machine.travel", self._traveller).stop()
87 self._coordinates = None
88 self._traveller = None
89 self._started = False
90
91 return self
92
93 def travel(
94 self,

Callers 4

__exit__Method · 0.95
travel_backFunction · 0.45
setupFunction · 0.45
test_freezeFunction · 0.45

Calls

no outgoing calls

Tested by 2

setupFunction · 0.36
test_freezeFunction · 0.36