Merge pull request #888 from pre-commit/887_xfail_windows_node_again

xfail windows node until #887 is resolved
This commit is contained in:
Anthony Sottile 2018-12-19 17:04:21 -08:00 committed by GitHub
commit 45a34d6b75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,7 @@ xfailif_windows_no_ruby = pytest.mark.xfail(
def broken_deep_listdir(): # pragma: no cover (platform specific)
if sys.platform != 'win32':
return False
return True # TODO: remove this after #887 is resolved
try:
os.listdir(str('\\\\?\\') + os.path.abspath(str('.')))
except OSError: