============================= 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-4.1.2, configfile: pytest.ini
plugins: cov-2.12.1
collected 45 items

tempora/__init__.py ..........F....                                      [ 33%]
tempora/schedule.py ...                                                  [ 40%]
tempora/timing.py .....                                                  [ 51%]
tempora/utc.py .                                                         [ 53%]
tempora/tests/test_schedule.py ...................                       [ 95%]
tempora/tests/test_timing.py ..                                          [100%]

=================================== FAILURES ===================================
__________________ [doctest] tempora.get_nearest_year_for_day __________________
269 
270     Returns the nearest year to now inferred from a Julian date.
271 
272     >>> freezer = getfixture('freezer')
UNEXPECTED EXCEPTION: FixtureLookupError('freezer', <FixtureRequest for <DoctestItem tempora.get_nearest_year_for_day>>)
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 "<doctest tempora.get_nearest_year_for_day[0]>", line 1, in <module>
  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', <FixtureRequest for <DoctestItem tempora.get_nearest_year_for_day>>)
/build/python-tempora/src/tempora-4.1.2/tempora/__init__.py:272: UnexpectedException
=========================== short test summary info ============================
FAILED tempora/__init__.py::tempora.get_nearest_year_for_day
========================= 1 failed, 44 passed in 2.46s =========================
[1m[31m==> ERROR:[m[1m A failure occurred in check().[m
[1m    Aborting...[m
