| |
@@ -23,6 +23,7 @@
|
| |
sitepackages = true
|
| |
setenv =
|
| |
COLUMNS=80
|
| |
+ LANG=C
|
| |
# Expected that python-rpm is installed on the host
|
| |
# If rpm's python bindings are missing, don't continue
|
| |
# Also, because coverage might be installed system-wide and it serves as our
|
| |
@@ -36,13 +37,13 @@
|
| |
[testenv:py3]
|
| |
deps =
|
| |
-r{toxinidir}/test-requirements.txt
|
| |
- setenv =
|
| |
+ setenv =
|
| |
{[testenv]setenv}
|
| |
PYTHONPATH=.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/.:www/lib
|
| |
commands_pre =
|
| |
{[testenv]commands_pre}
|
| |
python -m coverage erase --rcfile .coveragerc3
|
| |
- commands =
|
| |
+ commands =
|
| |
python -m pytest -n auto --cov --cov-config .coveragerc3 --cov-report=html
|
| |
|
| |
[testenv:py2]
|
| |
I'm often getting weird thread collisions in
cs_CZ.UTF-8. It seems to be limited to path handling intest_prune_signed_copies.pywhile errors are gone when running underC. One of the errors is here (other one is about already deleted path there, I can't get reproduce it now).tests/test_cli/test_prune_signed_copies.py:616: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/difflib.py:1303: in ndiff def ndiff(a, b, linejunk=None, charjunk=IS_CHARACTER_JUNK): .tox/py3/lib64/python3.13/site-packages/coverage/control.py:395: in _should_trace disp = self._inorout.should_trace(filename, frame) .tox/py3/lib64/python3.13/site-packages/coverage/inorout.py:352: in should_trace canonical = canonical_filename(filename) .tox/py3/lib64/python3.13/site-packages/coverage/files.py:86: in canonical_filename cf = abs_file(cf) .tox/py3/lib64/python3.13/site-packages/coverage/files.py:159: in abs_file return actual_path(os.path.abspath(os.path.realpath(path))) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ filename = '/usr/lib64/python3.13/difflib.py' > ??? E TypeError: an integer is required <frozen posixpath>:440: TypeError