Skip to content

Commit 662803d

Browse files
committed
Adapt test to also worth with pytest-main
1 parent 964f30e commit 662803d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_newhooks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def pytest_handlecrashitem(crashitem, report, sched):
115115
res.stdout.fnmatch_lines_random(["*HOOK: pytest_handlecrashitem"])
116116
res.stdout.fnmatch_lines(
117117
[
118-
"FAILED test_handlecrashitem_one.py::test_b",
119-
"FAILED test_handlecrashitem_one.py::test_b",
118+
"FAILED test_handlecrashitem_one.py::test_b*",
119+
"FAILED test_handlecrashitem_one.py::test_b*",
120120
]
121121
)

0 commit comments

Comments
 (0)