Skip to content

Commit

Permalink
test for #1729
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed May 17, 2020
1 parent 981f50c commit 5245a82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def test_tbd_remove_in_v0_9_0_trainer():
assert getattr(trainer, 'show_progress_bar')

with pytest.deprecated_call(match='v0.9.0'):
_ = Trainer(num_tpu_cores=8)
trainer = Trainer(num_tpu_cores=8)
assert trainer.tpu_cores == 8


def test_tbd_remove_in_v0_9_0_module_imports():
Expand Down

0 comments on commit 5245a82

Please sign in to comment.