Skip to content

Commit

Permalink
work around pytest import file mismatch error
Browse files Browse the repository at this point in the history
```
imported module 'conftest' has this __file__ attribute:
  /home/runner/work/graphviz/graphviz/tests/backend/conftest.py
which is not the same as the test file we want to collect:
  /home/runner/work/graphviz/graphviz/tests/conftest.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
```
  • Loading branch information
xflr6 committed Mar 17, 2024
1 parent f586034 commit f1a9f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
python_requires='>=3.8',
extras_require={
'dev': ['tox>=3', 'flake8', 'pep8-naming', 'wheel', 'twine'],
'test': ['pytest>=7',
'test': ['pytest>=7,<8.1',
'pytest-mock>=3',
'pytest-cov', 'coverage'],
'docs': ['sphinx>=5,<7', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'],
Expand Down

0 comments on commit f1a9f8d

Please sign in to comment.