Created attachment 876445 [details] dev-python:Faker-20.1.0:20231202-182359.log =dev-python/Faker-20.1.0 fails its test phase for me. Specifically, the test TestFiFI.test_ssn_without_age_range fails: =================================================================================== FAILURES =================================================================================== _____________________________________________________________________ TestFiFI.test_ssn_without_age_range ______________________________________________________________________ self = <tests.providers.test_ssn.TestFiFI testMethod=test_ssn_without_age_range> def test_ssn_without_age_range(self): current_year = datetime.now().year age = current_year - 1995 ssn = self.fake.ssn(min_age=age, max_age=age, artificial=True) assert "95-" in ssn age = current_year - 2013 ssn = self.fake.ssn(min_age=age, max_age=age, artificial=True) assert "13A" in ssn age = current_year - 1898 ssn = self.fake.ssn(min_age=age, max_age=age, artificial=True) > assert "98+" in ssn E AssertionError: assert '98+' in '010199+953R' age = 125 current_year = 2023 self = <tests.providers.test_ssn.TestFiFI testMethod=test_ssn_without_age_range> ssn = '010199+953R' tests/providers/test_ssn.py:816: AssertionError =============================================================================== warnings summary =============================================================================== tests/test_providers_formats.py::test_no_invalid_formats[fr_QC] /var/tmp/portage/dev-python/Faker-20.1.0/work/Faker-20.1.0/faker/providers/person/fr_QC/__init__.py:10: UserWarning: fr_QC locale is deprecated. Please use fr_CA. warnings.warn("fr_QC locale is deprecated. Please use fr_CA.") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================================================================== short test summary info ============================================================================ SKIPPED [1] tests/providers/test_address.py:531: could not import 'ukpostcodeparser.parser': No module named 'ukpostcodeparser' SKIPPED [1] tests/providers/test_date_time.py:196: windows does not support sub second precision SKIPPED [1] tests/providers/test_date_time.py:548: windows does not support sub second precision SKIPPED [2] tests/pytest/session_overrides/session_locale/test_autouse_faker_locale.py: This test is skipped by default since it depends on changes in the behavior of session-scoped fixtures. Use a separate pytest run for tests like this with the "--exclusive-faker-session" flag specified. SKIPPED [2] tests/pytest/session_overrides/session_locale/test_autouse_faker_seed.py: This test is skipped by default since it depends on changes in the behavior of session-scoped fixtures. Use a separate pytest run for tests like this with the "--exclusive-faker-session" flag specified. SKIPPED [4] tests/pytest/session_overrides/session_locale/test_manual_injection.py: This test is skipped by default since it depends on changes in the behavior of session-scoped fixtures. Use a separate pytest run for tests like this with the "--exclusive-faker-session" flag specified. FAILED tests/providers/test_ssn.py::TestFiFI::test_ssn_without_age_range - AssertionError: assert '98+' in '010199+953R' ====================================================== 1 failed, 1831 passed, 11 skipped, 1 warning in 110.01s (0:01:50) =======================================================
Created attachment 876446 [details] emerge-info.txt
It worked yesterday! Like: $ faketime '2023-12-01' python -m pytest tests/providers/test_ssn.py::TestFiFI