Closed mtelka closed 1 month ago
I ran tests with pytest-randomly plugin installed.
pytest-randomly
All tests pass.
Few tests failed.
Example of failed tests:
=========================== short test summary info ============================ FAILED tests/test_i18n.py::test_ordinal_genders[es_ES-1-male-1\xba] - Excepti... FAILED tests/test_i18n.py::test_intword_plurals[es_ES-1000000000-1.0 bill\xf3n] FAILED tests/test_i18n.py::test_langauge_codes[ar-5\u062e\u0627\u0645\u0633] FAILED tests/test_i18n.py::test_intword_plurals[es_ES-1000000000000-1.0 trill\xf3n] FAILED tests/test_i18n.py::test_langauge_codes[fr-5e] - Exception: Humanize c... FAILED tests/test_i18n.py::test_langauge_codes[ar_SA-5\u062e\u0627\u0645\u0633] FAILED tests/test_i18n.py::test_ordinal_genders[fr_FR-1-male-1er] - Exception... FAILED tests/test_i18n.py::test_ordinal_genders[es_ES-5-female-5\xaa] - Excep... FAILED tests/test_i18n.py::test_intword_plurals[es_ES-6700000000000-6.7 trillones] FAILED tests/test_i18n.py::test_intword_plurals[es_ES-1000000-1.0 mill\xf3n] FAILED tests/test_i18n.py::test_langauge_codes[pt_BR-5\xba] - Exception: Huma... FAILED tests/test_i18n.py::test_ordinal_genders[it_IT-8-female-8\xaa] - Excep... FAILED tests/test_i18n.py::test_naturaldelta - Exception: Humanize cannot det... FAILED tests/test_i18n.py::test_intcomma - Exception: Humanize cannot determi... FAILED tests/test_i18n.py::test_langauge_codes[pt-5\xba] - Exception: Humaniz...
Please note the list and number of failed tests differs with every test run.
Thanks, my guess is https://github.com/python-humanize/humanize/blob/main/tests/test_i18n.py could better handle activation and deactivation of i18n. PR welcome to improve it!
i18n
What did you do?
I ran tests with
pytest-randomly
plugin installed.What did you expect to happen?
All tests pass.
What actually happened?
Few tests failed.
What versions are you using?
Example of failed tests:
Please note the list and number of failed tests differs with every test run.