Skip to content

Commit 09434e9

Browse files
author
Patryk Dudziński
committed
[python][sequencer][tests] fixed test case , NotImplementedError shouldn't be thrown
1 parent 91e3af6 commit 09434e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/pyarrow/tests/test_table.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2983,10 +2983,10 @@ def test_table_group_by_first():
29832983
table2 = pa.table({'a': [1, 2, 3, 4], 'b': ['b', 'a'] * 2})
29842984
table = pa.concat_tables([table1, table2])
29852985

2986-
with pytest.raises(NotImplementedError):
2987-
table.group_by("b").aggregate([("a", "first")])
2986+
# with pytest.raises(NotImplementedError):
2987+
# table.group_by("b").aggregate([("a", "first")])
29882988

2989-
result = table.group_by("b", use_threads=False).aggregate([("a", "first")])
2989+
result = table.group_by("b", use_threads=True).aggregate([("a", "first")])
29902990
expected = pa.table({"b": ["a", "b"], "a_first": [1, 2]})
29912991
assert result.equals(expected)
29922992

0 commit comments

Comments
 (0)