Skip to content

Commit

Permalink
Test compute=False
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonbb committed Mar 28, 2024
1 parent d72d75b commit eff0de5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tape_tests/test_ensemble_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,8 @@ def test_head(data_fixture, request):
assert len(frame.head(0)) == 0
assert len(frame.head(-1)) == 0

assert len(frame.head(100, compute=False).compute()) == 100

one_res = frame.head(1)
assert len(one_res) == 1
assert isinstance(one_res, TapeFrame)
Expand Down

0 comments on commit eff0de5

Please sign in to comment.