Skip to content

Commit cf54011

Browse files
pytest 6.2.0 support
1 parent f6e2adf commit cf54011

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

testing/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def version(self):
8181
return self.get_version()
8282

8383

84-
@pytest.yield_fixture(autouse=True)
84+
@pytest.fixture(autouse=True)
8585
def debug_mode():
8686
from setuptools_scm import utils
8787

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ testpaths=testing
66
filterwarnings=error
77
markers=
88
issue(id): reference to github issue
9+
# disable unraisable until investigated
10+
addopts = -p no:unraisableexception
911

1012
[flake8]
1113
max-complexity = 10

0 commit comments

Comments
 (0)