commit: 11c0d4017460fbdecea2209280d790310db6e98a Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Mon Jun 21 23:23:54 2021 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Mon Jun 21 23:32:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c0d401
dev-python/agate: Comment on details of xfails skipped via epytest --deselect test_cast_format_locale fails with "locale.Error: unsupported locale setting" which appears to be triggered by these locale settings in the unit tests: agate-1.6.2/tests/test_data_types.py:257: def test_cast_format_locale(self): agate-1.6.2/tests/test_data_types.py-258- date_type = Date(date_format='%d-%b-%Y', locale='de_DE') agate-1.6.2/tests/test_data_types.py:381: def test_cast_format_locale(self): agate-1.6.2/tests/test_data_types.py-382- date_type = DateTime(datetime_format='%Y-%m-%d %I:%M %p', locale='ko_KR') Bug: https://bugs.gentoo.org/797307 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> dev-python/agate/agate-1.6.2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-python/agate/agate-1.6.2.ebuild b/dev-python/agate/agate-1.6.2.ebuild index eaa3487a523..390df28bbab 100644 --- a/dev-python/agate/agate-1.6.2.ebuild +++ b/dev-python/agate/agate-1.6.2.ebuild @@ -45,6 +45,14 @@ pytest-expect-to-deselect() { } python_test() { + # test_cast_format_locale fails with "locale.Error: unsupported locale setting" + # which appears to be triggered by these locale settings in the unit tests: + # + # agate-1.6.2/tests/test_data_types.py:257: def test_cast_format_locale(self): + # agate-1.6.2/tests/test_data_types.py-258- date_type = Date(date_format='%d-%b-%Y', locale='de_DE') + # agate-1.6.2/tests/test_data_types.py:381: def test_cast_format_locale(self): + # agate-1.6.2/tests/test_data_types.py-382- date_type = DateTime(datetime_format='%Y-%m-%d %I:%M %p', locale='ko_KR') + local -a pytest_args readarray -t pytest_args < <(pytest-expect-to-deselect <<<" pytest-expect file v1
