From deb964338ef7d8661aeeb3e63692ee23ed13b467 Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Sun, 4 Aug 2024 02:24:34 +0200 Subject: [PATCH] Replace pytest-lazy-fixture with pytest-lazy-fixtures --- tests/requirements.txt | 4 ++-- tests/resource_fixtures.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index 42f7ed79..49e1448b 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,6 +1,6 @@ -r ../requirements.txt -pytest<8 -pytest-lazy-fixture +pytest +pytest-lazy-fixtures tgt diff --git a/tests/resource_fixtures.py b/tests/resource_fixtures.py index 666fb1c9..82c733b5 100644 --- a/tests/resource_fixtures.py +++ b/tests/resource_fixtures.py @@ -16,13 +16,13 @@ # along with Parselmouth. If not, see import pytest -import pytest_lazyfixture +import pytest_lazy_fixtures import parselmouth def combined_fixture(*args, **kwargs): - return pytest.fixture(params=map(pytest_lazyfixture.lazy_fixture, args), ids=args, **kwargs) + return pytest.fixture(params=map(pytest_lazy_fixtures.lf, args), ids=args, **kwargs) @pytest.fixture