From 6502816d977fcdbd65a3f4d8a63c0ce7c1f25649 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 25 Oct 2024 13:17:27 +0300 Subject: [PATCH] Merge pull request #12913 from jakkdl/dontfailonbadpath [minor] avoid test failing if the working path contains the string 'error' (cherry picked from commit ded1f44e5cdf02e5823f52e07414236982200894) --- testing/python/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/python/fixtures.py b/testing/python/fixtures.py index 46f0a762cbb..c939b221f22 100644 --- a/testing/python/fixtures.py +++ b/testing/python/fixtures.py @@ -2996,7 +2996,7 @@ def test_finish(): *3 passed* """ ) - result.stdout.no_fnmatch_line("*error*") + assert result.ret == 0 def test_fixture_finalizer(self, pytester: Pytester) -> None: pytester.makeconftest(