Skip to content

Commit

Permalink
fix: mock generator_holes_mock
Browse files Browse the repository at this point in the history
  • Loading branch information
hlbotterman committed Oct 23, 2024
1 parent 40e900a commit d43a6e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/benchmark/test_comparator.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ def generator_holes_mock(mocker: MockerFixture) -> _HoleGenerator:
mock.split.return_value = [
pd.DataFrame({"A": [False, False, True], "B": [True, False, False]})
]
mock.n_splits = 1
mock.subset = ["A", "B"]
mock.ratio_masked = 0.3
mock.random_state = 42
mock.groups = None

return mock


Expand Down

0 comments on commit d43a6e2

Please sign in to comment.