Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Jun 3, 2024
1 parent 307119c commit 842ef86
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/unit/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def test_EI(predictor, X, Y):
N = Y.shape[0]
score = physbo.search.score.EI(predictor, X, Y)
assert score.shape[0] == N
predictor.get_post_fmean.assert_any_call(X, X)
predictor.get_post_fmean.assert_any_call(X, Y)
predictor.get_post_fcov.assert_called_once_with(X, Y)
predictor.get_post_samples.assert_not_called()
Expand All @@ -84,7 +83,6 @@ def test_PI(predictor, X, Y):
N = Y.shape[0]
score = physbo.search.score.PI(predictor, X, Y)
assert score.shape[0] == N
predictor.get_post_fmean.assert_any_call(X, X)
predictor.get_post_fmean.assert_any_call(X, Y)
predictor.get_post_fcov.assert_called_once_with(X, Y)
predictor.get_post_samples.assert_not_called()
Expand Down

0 comments on commit 842ef86

Please sign in to comment.