Files
python-pytest-xdist/python-pytest-xdist-3.8.0-update-biapp.patch
2026-02-25 17:10:33 +08:00

24 lines
935 B
Diff

From 46084729fd2785c626d8c4add0b5e695eb4fdde9 Mon Sep 17 00:00:00 2001
From: Bruno Oliveira <bruno@soliv.dev>
Date: Sun, 2 Nov 2025 10:18:21 -0300
Subject: [PATCH] Adapt test to also worth with pytest-main
---
testing/test_newhooks.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testing/test_newhooks.py b/testing/test_newhooks.py
index e3a8ac6f..9091ed31 100644
--- a/testing/test_newhooks.py
+++ b/testing/test_newhooks.py
@@ -115,7 +115,7 @@ def pytest_handlecrashitem(crashitem, report, sched):
res.stdout.fnmatch_lines_random(["*HOOK: pytest_handlecrashitem"])
res.stdout.fnmatch_lines(
[
- "FAILED test_handlecrashitem_one.py::test_b",
- "FAILED test_handlecrashitem_one.py::test_b",
+ "FAILED test_handlecrashitem_one.py::test_b*",
+ "FAILED test_handlecrashitem_one.py::test_b*",
]
)