Skip to content

Commit ac79cfa

Browse files
authored
Revert "Ignore failures that are retried using pytest-rerunfailures plugin"
1 parent e3f4982 commit ac79cfa

File tree

1 file changed

+0
-9
lines changed
  • pytest_github_actions_annotate_failures

1 file changed

+0
-9
lines changed

pytest_github_actions_annotate_failures/plugin.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,6 @@ def pytest_runtest_makereport(item, call):
2727
if os.environ.get("GITHUB_ACTIONS") != "true":
2828
return
2929

30-
try:
31-
# If we have the pytest_rerunfailures plugin, and there are still
32-
# retries to be run, then ignore error
33-
import pytest_rerunfailures
34-
if item.execution_count <= pytest_rerunfailures.get_reruns_count(item):
35-
return
36-
except ImportError:
37-
pass
38-
3930
if report.when == "call" and report.failed:
4031
# collect information to be annotated
4132
filesystempath, lineno, _ = report.location

0 commit comments

Comments
 (0)