From 5b559dbe91f1abc5d2306ba69853c1b15e64c8e3 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Tue, 17 Jul 2018 18:07:14 -0700 Subject: [PATCH] Temporarily xfail node on windows --- testing/util.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/testing/util.py b/testing/util.py index 6a66c7c9..43014df4 100644 --- a/testing/util.py +++ b/testing/util.py @@ -48,16 +48,7 @@ xfailif_windows_no_ruby = pytest.mark.xfail( def broken_deep_listdir(): # pragma: no cover (platform specific) if sys.platform != 'win32': return False - try: - os.listdir(str('\\\\?\\') + os.path.abspath(str('.'))) - except OSError: - return True - try: - os.listdir(b'\\\\?\\C:' + b'\\' * 300) - except TypeError: - return True - except OSError: - return False + return True # see #798 xfailif_broken_deep_listdir = pytest.mark.xfail(