skip warning test (#1533)

This commit is contained in:
Adrian Wälchli 2020-04-20 10:04:37 +02:00 committed by GitHub
parent b0bf51f99f
commit 452fa858f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
import platform
import pytest
import torch
@ -488,6 +490,7 @@ def test_error_on_zero_len_dataloader(tmpdir):
trainer.fit(model)
@pytest.mark.skipif(platform.system() == 'Windows', reason='Does not apply to Windows platform.')
def test_warning_with_few_workers(tmpdir):
""" Test that error is raised if dataloader with only a few workers is used """
tutils.reset_seed()