Skip to content

Commit 7c834ec

Browse files
committed
Skipping tests which are failing under Windows
Signed-off-by: Eric Kerfoot <[email protected]>
1 parent eb1e3da commit 7c834ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/data/test_persistentdataset_dist.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
from monai.data import PersistentDataset, json_hashing
2323
from monai.transforms import Transform
24-
from tests.test_utils import DistCall, DistTestCase
24+
from tests.test_utils import DistCall, DistTestCase, skip_if_windows
2525

2626

2727
class _InplaceXform(Transform):
@@ -33,6 +33,7 @@ def __call__(self, data):
3333
return data
3434

3535

36+
@skip_if_windows
3637
class TestDistDataset(DistTestCase):
3738
def setUp(self):
3839
self.tempdir = tempfile.mkdtemp()
@@ -57,6 +58,7 @@ def test_mp_dataset(self):
5758
self.assertEqual(items, [[[]], [[0]], [[0, 1]], [[0, 1, 2]], [[0, 1, 2, 3]]])
5859

5960

61+
@skip_if_windows
6062
class TestDistCreateDataset(DistTestCase):
6163
def setUp(self):
6264
self.tempdir = tempfile.mkdtemp()

0 commit comments

Comments
 (0)