Skip to content

Commit

Permalink
pytest 6.2.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
RonnyPfannschmidt committed Dec 13, 2020
1 parent f6e2adf commit cf54011
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion testing/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf54011

Please sign in to comment.