Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure unique basename for test file modules
Pytest will get confused otherwise: ================================ ERRORS ================================ ___________ ERROR collecting src/graylint/tests/test_main.py ___________ import file mismatch: imported module 'test_main' has this __file__ attribute: /home/akaihola/prg/graylint/action/tests/test_main.py which is not the same as the test file we want to collect: /home/akaihola/prg/graylint/src/graylint/tests/test_main.py HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules ======================= short test summary info ======================== ERROR src/graylint/tests/test_main.py !!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!
- Loading branch information