Skip to content
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

AttributeError: module 'hammett' has no attribute 'PytestWarning' #15

Open
barseghyanartur opened this issue Jan 30, 2023 · 0 comments
Open

Comments

@barseghyanartur
Copy link

barseghyanartur commented Jan 30, 2023

Error:

File "/home/me/.virtualenvs/env/lib/python3.10/site-packages/pytest_cov/plugin.py", line 17, in <module>
    class PytestCovWarning(pytest.PytestWarning):
AttributeError: module 'hammett' has no attribute 'PytestWarning'

pip list:

hammett                       0.9.3
pytest                        7.2.1
pytest-cov                    4.0.0
pytest-cover                  3.0.0
pytest-coverage               0.0
pytest-django                 4.5.2
pytest-ordering               0.6
pytest-parallel               0.1.1
pytest-pretty                 1.0.1
pytest-rerunfailures          11.0

setup.cfg

[hammett]
source_location=src/
plugins=
    pytest_cov
    pytest_django
    pytest_ordering
    pytest_parallel
    pytest_rerunfailures

Python version
3.10.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant