Skip to content

Commit

Permalink
tests: arrange data in head tests
Browse files Browse the repository at this point in the history
  • Loading branch information
machow committed May 1, 2022
1 parent fd10640 commit 3ecf767
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion siuba/tests/test_verb_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

@pytest.fixture
def df(backend):
return backend.load_df(DATA)
# Note that we use arrange the data, so that cloud backends that do not
# guarantee order without ORDER BY will return the right thing
return backend.load_df(DATA) >> arrange(_.a)


def test_head_default(df):
Expand Down

0 comments on commit 3ecf767

Please sign in to comment.