Skip to content

Commit

Permalink
tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
jinlow committed Jan 18, 2024
1 parent 1692cf0 commit 9373893
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py-forust/tests/test_booster.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def test_n_records(X_y, subsample: float, max_leaves: int, grow_policy: str):
assert root_records == total_records
if subsample == 1.0:
assert root_records == X.shape[0]
else:
assert root_records < X.shape[0]


def test_booster_no_variance(X_y):
Expand Down

0 comments on commit 9373893

Please sign in to comment.