Skip to content

Commit 9f807b0

Browse files
committed
test: sort results in aggregate_string_and_expression_equivalent for consistency
1 parent ec5e5cc commit 9f807b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tests/test_dataframe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ def test_sort_unsupported(df):
292292

293293

294294
def test_aggregate_string_and_expression_equivalent(df):
295-
result_str = df.aggregate("a", [f.count()]).to_pydict()
296-
result_expr = df.aggregate(col("a"), [f.count()]).to_pydict()
295+
result_str = df.aggregate("a", [f.count()]).sort("a").to_pydict()
296+
result_expr = df.aggregate(col("a"), [f.count()]).sort("a").to_pydict()
297297
assert result_str == result_expr
298298

299299

0 commit comments

Comments
 (0)