Skip to content

Commit

Permalink
Update unit test text to match in multiple versions of python
Browse files Browse the repository at this point in the history
  • Loading branch information
timsaucer committed Sep 21, 2024
1 parent 3791819 commit 46d1e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/datafusion/tests/test_udaf.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def test_errors(df):
df = df.aggregate([], [accum(column("a"))])

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

0 comments on commit 46d1e8c

Please sign in to comment.