We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2396ba commit 0616ffcCopy full SHA for 0616ffc
1 file changed
tests/test_results.py
@@ -58,7 +58,7 @@ def test_wrong_tuple_length_raises_error(self):
58
def dummy_test(patch):
59
return "[PATCH] test", "PASS" # Only 2 elements
60
61
- with pytest.raises(ValueError, match="must return.*3 values"):
+ with pytest.raises(ValueError, match=r"must return \(subject, result, reason\), got 2 values"):
62
dummy_test(None)
63
64
def test_invalid_result_value_raises_error(self):
0 commit comments