Skip to content

Commit

Permalink
skip warning test (#1533)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Wälchli authored Apr 20, 2020
1 parent b0bf51f commit 452fa85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/trainer/test_dataloaders.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import platform

import pytest
import torch

Expand Down Expand Up @@ -488,6 +490,7 @@ class CurrentTestModel(
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()
Expand Down

0 comments on commit 452fa85

Please sign in to comment.