[Bug 1812857] Review Request: python-ws4py - WebSocket client and server library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1812857



--- Comment #15 from Miro Hrončok <mhroncok@xxxxxxxxxx> ---
(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-python-m-pytest

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
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux