diff --git a/testing/conftest.py b/testing/conftest.py index 5f6cdd50..f533e50d 100644 --- a/testing/conftest.py +++ b/testing/conftest.py @@ -81,7 +81,7 @@ def version(self): return self.get_version() -@pytest.yield_fixture(autouse=True) +@pytest.fixture(autouse=True) def debug_mode(): from setuptools_scm import utils diff --git a/tox.ini b/tox.ini index 9a8c1c23..f3a97a94 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,8 @@ testpaths=testing filterwarnings=error markers= issue(id): reference to github issue +# disable unraisable until investigated +addopts = -p no:unraisableexception [flake8] max-complexity = 10