Skip to content

Commit 5738c00

Browse files
committed
Fix tests
1 parent c3c35a9 commit 5738c00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_runtime_errors.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def test_parser_regex():
6464
assert (
6565
str(exc.value.message)
6666
== "Fail to parse with regex (: error('missing ), unterminated subpattern at position 0')"
67+
) or (
68+
str(exc.value.message)
69+
== "Fail to parse with regex (: PatternError('missing ), unterminated subpattern at position 0')"
6770
)
6871

6972

0 commit comments

Comments
 (0)