============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-tempora/src/tempora-5.0.0, configfile: pytest.ini plugins: mypy-0.8.1, cov-2.12.1, flake8-1.0.7 collected 42 items tempora/__init__.py .......F.... [ 28%] tempora/schedule.py ... [ 35%] tempora/timing.py ..... [ 47%] tempora/utc.py . [ 50%] tempora/tests/test_schedule.py ................... [ 95%] tempora/tests/test_timing.py .. [100%] =================================== FAILURES =================================== __________________ [doctest] tempora.get_nearest_year_for_day __________________ 203 204 Returns the nearest year to now inferred from a Julian date. 205 206 >>> freezer = getfixture('freezer') UNEXPECTED EXCEPTION: FixtureLookupError('freezer', >) Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/_pytest/fixtures.py", line 589, in _get_active_fixturedef return self._fixture_defs[argname] KeyError: 'freezer' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1346, in __run exec(compile(example.source, filename, "single", File "", line 1, in File "/usr/lib/python3.10/site-packages/_pytest/fixtures.py", line 581, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/lib/python3.10/site-packages/_pytest/fixtures.py", line 592, in _get_active_fixturedef fixturedef = self._getnextfixturedef(argname) File "/usr/lib/python3.10/site-packages/_pytest/fixtures.py", line 473, in _getnextfixturedef raise FixtureLookupError(argname, self) _pytest.fixtures.FixtureLookupError: ('freezer', >) /build/python-tempora/src/tempora-5.0.0/tempora/__init__.py:206: UnexpectedException =========================== short test summary info ============================ FAILED tempora/__init__.py::tempora.get_nearest_year_for_day ========================= 1 failed, 41 passed in 1.96s ========================= ==> ERROR: A failure occurred in check().  Aborting...