From 2f3d8d50b2575b7002404cd9a48871d1ee0fe3d3 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Mon, 10 Oct 2016 13:01:06 -0500
Subject: [PATCH] Xfail diskdict test on Windows: flaky there

---
 test/test_pytools.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/test_pytools.py b/test/test_pytools.py
index 6e2a1eb..0158ae7 100644
--- a/test/test_pytools.py
+++ b/test/test_pytools.py
@@ -2,6 +2,7 @@ from __future__ import division, with_statement
 from __future__ import absolute_import
 
 import pytest
+import sys
 
 
 @pytest.mark.skipif("sys.version_info < (2, 5)")
@@ -155,6 +156,9 @@ def test_spatial_btree(dims, do_plot=False):
 
 
 def test_diskdict():
+    if sys.platform.startswith("win"):
+        pytest.xfail("unreliable on windows")
+
     from pytools.diskdict import DiskDict
 
     from tempfile import NamedTemporaryFile
@@ -194,7 +198,6 @@ if __name__ == "__main__":
     # make sure that import failures get reported, instead of skipping the tests.
     import pyopencl  # noqa
 
-    import sys
     if len(sys.argv) > 1:
         exec(sys.argv[1])
     else:
-- 
GitLab