Skip to content

Commit ab701b3

Browse files
authored
Use pytest.fixture rather than deprecated yield_fixture (#131)
1 parent 307d0d4 commit ab701b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_flask/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def deprecated_call(*args, **kwargs):
3030
return decorator
3131

3232

33-
@pytest.yield_fixture
33+
@pytest.fixture
3434
def client(app):
3535
"""A Flask test client. An instance of :class:`flask.testing.TestClient`
3636
by default.

0 commit comments

Comments
 (0)