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.
1 parent 259ef9e commit 5b559dbCopy full SHA for 5b559db
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