diff --git a/python/python/tests/test_query.py b/python/python/tests/test_query.py index 1a709a52e..a475e6956 100644 --- a/python/python/tests/test_query.py +++ b/python/python/tests/test_query.py @@ -1892,9 +1892,12 @@ def test_take_queries(tmp_path): ] # Duplicate offsets are occurrences, not set members. Ordering is unspecified. - assert sorted( - table.take_offsets([5, 2, 5, 17]).to_pandas()["idx"].to_list() - ) == [2, 5, 5, 17] + assert sorted(table.take_offsets([5, 2, 5, 17]).to_pandas()["idx"].to_list()) == [ + 2, + 5, + 5, + 17, + ] # Take by row id assert list(