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

Function setup

tests/testing/test_time_travel.py:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17@pytest.fixture(autouse=True)
18def setup() -> Generator[None, None, None]:
19 pendulum.travel_back()
20
21 yield
22
23 pendulum.travel_back()
24
25
26@pytest.mark.skipif(PYPY, reason="Time travelling not available on PyPy")

Callers

nothing calls this directly

Calls 1

travel_backMethod · 0.45

Tested by

no test coverage detected