Skip to content

Commit

Permalink
fixup! Allow bool, str (case insensitive), BaseProfiler
Browse files Browse the repository at this point in the history
  • Loading branch information
ddrevicky committed Oct 2, 2020
1 parent 7bc42ad commit d9dd6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/trainer/test_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,5 +1198,5 @@ def test_trainer_profiler_correct_args(profiler, expected):

def test_trainer_profiler_incorrect_str_arg():
with pytest.raises(ValueError, match=r"When passing string value for the `profiler` parameter of"
"` Trainer`, it can only be 'simple' or 'advanced'"):
" `Trainer`, it can only be 'simple' or 'advanced'"):
Trainer(profiler="unknown_profiler")

0 comments on commit d9dd6df

Please sign in to comment.