https://bugzilla.redhat.com/show_bug.cgi?id=1812857
--- Comment #15 from Miro Hrončok <mhroncok(a)redhat.com> ---
(In reply to Fabien Boucher from comment #14)
Actually it worked this way, so I've fixed the spec with.
PYTHONPATH=. pytest
Try:
%{python3} -m pytest
Docs:
https://docs.pytest.org/en/latest/usage.html#calling-pytest-through-pytho...
Benefits:
- you get PYTHONPATH=. automatically
- the pytest is invoked with the proper Python version regardless of what
/usr/bin/pytest happens to be (it usually matches, but might not e.g. on RHEL
with multiple Python versions)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component