You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a detailed description of the bug or problem you are having
output of pip list from the virtual environment you are using
pytest and operating system versions
minimal example if possible
I'm trying to package your module as rpm packag. So I'm using typical in such case build, install and test cycle used on building package from non-root account:
"setup.py build"
"setup.py install --root </install/prefix>"
"pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
Looks lie when pytest-randomly random test units are failing. IIRC pytest-find-dependencies module may help diagnose that issue.
Temporary workaround: run selftest with -p no:randomly
many of pytest's selftests rely on the specific output of pytester including the order of tests. They expect to be running in a clean environment with only the deps that it specifies installed.
pip list
from the virtual environment you are usingI'm trying to package your module as rpm packag. So I'm using typical in such case build, install and test cycle used on building package from non-root account:
Looks lie when
pytest-randomly
random test units are failing. IIRCpytest-find-dependencies
module may help diagnose that issue.Temporary workaround: run selftest with
-p no:randomly
Two examples of random fails:
The text was updated successfully, but these errors were encountered: