diazona / setuptools-pyproject-migration

Generate a pyproject.toml file from setuptools
https://setuptools-pyproject-migration.readthedocs.io/en/latest/
MIT License
16 stars 3 forks source link

Configure pytest to use importlib import mode #177

Closed diazona closed 2 months ago

diazona commented 2 months ago

pytest recommends using the importlib import mode for new projects to avoid test name conflicts, as described in the documentation. Our test files all have different names, so this hasn't been an issue, but it's still a good idea to use the recommended practice. So I'm changing the pytest configuration to do so.