Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Workaround broken gluon dataloader test_dataloader_context test
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu committed Apr 2, 2020
1 parent f505c53 commit c310881
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/python/unittest/test_gluon_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@ def test_multi_worker_dataloader_release_pool():


def test_dataloader_context():
if os.name == 'nt':
print("Skipping test_dataloader_context on Windows due to "
"https://github.com/apache/incubator-mxnet/issues/17961")
return

X = np.random.uniform(size=(10, 20))
dataset = gluon.data.ArrayDataset(X)
default_dev_id = 0
Expand Down

0 comments on commit c310881

Please sign in to comment.