Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerard Bentley committed Mar 14, 2020
1 parent 0607eec commit ffe7595
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def test_to_be_removed_in_v0_8_0_trainer():
}
# skip 0 since it may be interested as False
kwargs = {k: (i + 1) for i, k in enumerate(mapping_old_new)}

trainer = Trainer(**kwargs)

for attr_old in mapping_old_new:
Expand All @@ -43,6 +44,7 @@ def test_to_be_removed_in_v0_8_0_trainer():
assert kwargs[attr_old] == getattr(trainer, attr_new), \
'Wrongly passed deprecated argument "%s" to attribute "%s"' % (attr_old, attr_new)


def test_to_be_removed_in_v0_9_0_module_imports():
from pytorch_lightning.core.decorators import data_loader # noqa: F811

Expand Down

0 comments on commit ffe7595

Please sign in to comment.