[issue38454] test_listdir is failing on ubuntu with WSL

2020-03-16 Thread Matthias Braun
Matthias Braun added the comment: I believe my suggested pull request in https://bugs.python.org/issue39986 may solve this issue as a side effect because we no longer list the root directory but a temporary directory with controlled filenames. -- nosy: +Matthias Braun __

[issue38454] test_listdir is failing on ubuntu with WSL

2019-10-12 Thread Eryk Sun
Eryk Sun added the comment: The test assumes that Unix filesystems store names as arbitrary sequences of bytes, with only ASCII slash and null reserved. Windows NTFS stores names as arbitrary sequences of 16-bit words, with many reserved ASCII characters including \/:*?<>"| and control chara

[issue38454] test_listdir is failing on ubuntu with WSL

2019-10-11 Thread Batuhan
New submission from Batuhan : Run tests sequentially 0:00:00 load avg: 0.52 [1/1] test_os test test_os failed -- Traceback (most recent call last): File "/home/isidentical/cpython/Lib/test/test_os.py", line 2059, in test_listdir self.assertEqual(found, expected) AssertionError: Items in th