Commit 1c5836a9 authored by Link Mauve's avatar Link Mauve

Fix a warning when running tests.

/home/linkmauve/dev/python/poezio/test/test_config.py:13: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
parent 978d70f3
Pipeline #3511 passed with stages
in 5 minutes
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment