Skip to content

Commit

Permalink
Merge pull request #180 from GergelyKalmar/master
Browse files Browse the repository at this point in the history
Fix deprecation warning
  • Loading branch information
youtux committed Nov 30, 2022
2 parents 34104e9 + 8839301 commit ae5c0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_factoryboy/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def factoryboy_request() -> Request:
return Request()


@pytest.mark.tryfirst
@pytest.hookimpl(tryfirst=True)
def pytest_runtest_call(item: Item) -> None:
"""Before the test item is called."""
# TODO: We should instead do an `if isinstance(item, Function)`.
Expand Down

0 comments on commit ae5c0c0

Please sign in to comment.