summaryrefslogtreecommitdiff
path: root/test/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_config.py')
-rw-r--r--test/test_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_config.py b/test/test_config.py
index 4632410b..262efc72 100644
--- a/test/test_config.py
+++ b/test/test_config.py
@@ -10,7 +10,7 @@ import pytest
from poezio import config
-@pytest.yield_fixture(scope="module")
+@pytest.fixture(scope="module")
def config_obj():
file_ = tempfile.NamedTemporaryFile(delete=False)
conf = config.Config(file_name=Path(file_.name))