Skip to content

Commit

Permalink
Remove unnecessary skip from test_logfinish_hook as we require pytest…
Browse files Browse the repository at this point in the history
…>=6.2
  • Loading branch information
nicoddemus committed Dec 10, 2021
1 parent c76d562 commit 13f3934
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions testing/acceptance_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,11 +447,6 @@ def test_func():

def test_logfinish_hook(self, pytester: pytest.Pytester) -> None:
"""Ensure the pytest_runtest_logfinish hook is being properly handled"""
from _pytest import hookspec

if not hasattr(hookspec, "pytest_runtest_logfinish"):
pytest.skip("test requires pytest_runtest_logfinish hook in pytest (3.4+)")

pytester.makeconftest(
"""
def pytest_runtest_logfinish():
Expand Down

0 comments on commit 13f3934

Please sign in to comment.