Skip to content

Commit

Permalink
don't test remote paths if windows
Browse files Browse the repository at this point in the history
  • Loading branch information
f4hy committed Jul 6, 2020
1 parent 817dd3f commit 9bb0572
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/trainer/test_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,10 @@ def aws_credentials():
os.environ['AWS_SESSION_TOKEN'] = 'testing'


@pytest.mark.skipif(version.parse(tensorboard.__version__) < version.parse('2.0'), reason="remote paths require tensorboard>=2.0")
@pytest.mark.skipif(platform.system() == "Windows",
reason="Saving to remote paths is not supported on Windows")
@pytest.mark.skipif(version.parse(tensorboard.__version__) < version.parse('2.0'),
reason="remote paths require tensorboard>=2.0")
def test_trainer_s3_path(aws_credentials):
model = EvalModelTemplate()
with mock_s3():
Expand Down

0 comments on commit 9bb0572

Please sign in to comment.