Merge pull request #2446 from chuanma/master
replace @pytest.yield_fixture by @pytest.fixture
This commit is contained in:
commit
ad7ed87f5e
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ def purge_module(request):
|
|||
return inner
|
||||
|
||||
|
||||
@pytest.yield_fixture(autouse=True)
|
||||
@pytest.fixture(autouse=True)
|
||||
def catch_deprecation_warnings(recwarn):
|
||||
yield
|
||||
gc.collect()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue