Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 259ef9e + 5b559db commit 063014fCopy full SHA for 063014f
1 file changed
testing/util.py
@@ -48,16 +48,7 @@ def cmd_output_mocked_pre_commit_home(*args, **kwargs):
48
def broken_deep_listdir(): # pragma: no cover (platform specific)
49
if sys.platform != 'win32':
50
return False
51
- try:
52
- os.listdir(str('\\\\?\\') + os.path.abspath(str('.')))
53
- except OSError:
54
- return True
55
56
- os.listdir(b'\\\\?\\C:' + b'\\' * 300)
57
- except TypeError:
58
59
60
- return False
+ return True # see #798
61
62
63
xfailif_broken_deep_listdir = pytest.mark.xfail(
0 commit comments