[PATCH] python tests: fix locale issues
authorFrédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
Wed, 2 Dec 2020 10:30:10 +0000 (11:30 +0100)
committerLuca Boccassi <bluca@debian.org>
Sat, 8 Mar 2025 12:29:37 +0000 (12:29 +0000)
commit472a5dc64bdec489a836d8dda31f331e19d343b9
tree40885ba4633a200f4596dd06261cb4f12c4674b1
parent047f52e6c5f650557267c14ffa4a797fefa83820
[PATCH] python tests: fix locale issues

It has been observed that manipulating locales in Debian
environment, tests are failing.

======================================================================
ERROR: test_custom_querying (tests.test_reldep.Reldep)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/reprotest.wOQ8sL/build-experiment-1/build-experiment-1/python/hawkey/tests/tests/test_reldep.py", line 78, in test_custom_querying
    reldep = hawkey.Reldep(self.sack, u"\u0159 >= 3")
_hawkey.ValueException: Wrong reldep format: \u0159 >= 3

Gbp-Pq: Name 0013-python-tests-fix-locale-issues.patch
python/hawkey/tests/tests/base.py