Skip to content

Commit

Permalink
Update formating for yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-markewich committed Jun 28, 2021
1 parent 27b9fa7 commit b171407
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/test_runner/test_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,11 +906,13 @@ def test_wandb_hook():
shutil.rmtree(runner.work_dir)

hook.wandb.init.assert_called_with()
hook.wandb.log.assert_called_with({
'learning_rate': 0.02,
'momentum': 0.95,
'global_step': 6
}, commit=True)
hook.wandb.log.assert_called_with(
{
'learning_rate': 0.02,
'momentum': 0.95,
'global_step': 6
},
commit=True)
hook.wandb.join.assert_called_with()


Expand Down

0 comments on commit b171407

Please sign in to comment.