From 922d6841b0fe3dd1030f2ec4b816778a74a3bf84 Mon Sep 17 00:00:00 2001
From: jakkdl
Date: Wed, 23 Oct 2024 17:12:04 +0200
Subject: [PATCH] avoid test failing if the working path contains the string
'error'
---
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(