diff options
author | Matthew Bakhtiari <dev@mtbk.me> | 2021-05-10 05:49:53 +0200 |
---|---|---|
committer | Matthew Bakhtiari <dev@mtbk.me> | 2021-05-10 05:49:53 +0200 |
commit | 28d1baa81ac17c2281c8ca439ca0444910740ae5 (patch) | |
tree | 4d37e48216c942a4ae3dfb334818f1f9974314f1 | |
parent | ad876a1282423c5e677392814eec09d826fd311e (diff) | |
download | pluginbase-28d1baa81ac17c2281c8ca439ca0444910740ae5.tar.gz |
Remove deprecated yield_fixture
-rw-r--r-- | tests/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index a43b8cf..e20513b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -20,7 +20,7 @@ def source(base): identifier='demo') -@pytest.yield_fixture(scope='function', autouse=True) +@pytest.fixture(scope='function', autouse=True) def run_garbage_collection(): gc.collect() try: |