#N/A: Fix yield_fixture deprecation (#1211)
This commit is contained in:
parent
06e14afd17
commit
2f4adcf3cb
|
|
@ -231,7 +231,7 @@ class TestCache(object):
|
|||
|
||||
|
||||
class TestGetValidHistoryWithoutCurrent(object):
|
||||
@pytest.yield_fixture(autouse=True)
|
||||
@pytest.fixture(autouse=True)
|
||||
def fail_on_warning(self):
|
||||
warnings.simplefilter('error')
|
||||
yield
|
||||
|
|
|
|||
Loading…
Reference in New Issue