Skip to content

Commit

Permalink
Regex for exception that is compatible with python 3.10 and 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
timsaucer committed Sep 21, 2024
1 parent 46d1e8c commit 2619634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/datafusion/tests/test_udaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def test_errors(df):

msg = (
"Can't instantiate abstract class MissingMethods without an implementation "
"for abstract methods 'evaluate', 'merge', 'update'"
"for abstract methods (evaluate, merge, update|'evaluate', 'merge', 'update')"
)
with pytest.raises(Exception, match=msg):
df.collect()
Expand Down

0 comments on commit 2619634

Please sign in to comment.