Browse Source

Merge pull request #2446 from chuanma/master

replace @pytest.yield_fixture by @pytest.fixture
pull/2454/head
David Lord 7 years ago committed by GitHub
parent
commit
ad7ed87f5e
  1. 2
      tests/conftest.py

2
tests/conftest.py

@ -161,7 +161,7 @@ def purge_module(request):
return inner return inner
@pytest.yield_fixture(autouse=True) @pytest.fixture(autouse=True)
def catch_deprecation_warnings(recwarn): def catch_deprecation_warnings(recwarn):
yield yield
gc.collect() gc.collect()

Loading…
Cancel
Save