Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 7, 2021
1 parent 99b0f74 commit 741a92f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/trainer/properties/log_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,7 @@ def test_logdir_logger_collection(tmpdir):
model = TestModel(expected)

trainer = Trainer(
default_root_dir=tmpdir,
max_steps=2,
logger=[TensorBoardLogger(save_dir=tmpdir, name='custom_logs')]
default_root_dir=tmpdir, max_steps=2, logger=[TensorBoardLogger(save_dir=tmpdir, name='custom_logs')]
)

assert isinstance(trainer.logger, LoggerCollection)
Expand Down

0 comments on commit 741a92f

Please sign in to comment.