Skip to content

Commit

Permalink
Fix coverage in generation_strategy.py
Browse files Browse the repository at this point in the history
Summary: As titled

Reviewed By: bernardbeckerman

Differential Revision: D41088315

fbshipit-source-id: 93f513f733c67e165d6dd5f59b8db79f827c509e
  • Loading branch information
mpolson64 authored and facebook-github-bot committed Nov 7, 2022
1 parent 0253ca3 commit a67302f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ax/modelbridge/generation_strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ def _maybe_move_to_next_step(self, raise_data_required_error: bool = True) -> bo
]
):
if len(self._steps) == self._curr.index + 1:
raise GenerationStrategyCompleted(
raise GenerationStrategyCompleted( # pragma: no cover
f"Generation strategy {self} generated all the trials as "
"specified in its steps."
)
Expand Down

0 comments on commit a67302f

Please sign in to comment.