-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.8: pytest is failing #19
Comments
First I've been thinking that I have already packahged that extencsion then I found that I found |
Just tested new 1.0.0 and looks like it is one warning 😋 + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-repoze-sphinx-autointerface-1.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-repoze-sphinx-autointerface-1.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/repoze.sphinx.autointerface-1.0.0
plugins: hypothesis-6.41.0
collected 2 items
repoze/sphinx/tests/test_autointerface.py .. [100%]
============================================================================= warnings summary =============================================================================
repoze/sphinx/tests/util.py:31
/home/tkloczko/rpmbuild/BUILD/repoze.sphinx.autointerface-1.0.0/repoze/sphinx/tests/util.py:31: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: repoze/sphinx/tests/test_autointerface.py)
class TestApp(application.Sphinx):
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================= 2 passed, 1 warning in 0.51s ======================================================================= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesHere is pytest output:
The text was updated successfully, but these errors were encountered: