[issue39986] test_os / test_listdir failed as root-directory changed during test

2022-01-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

[issue39986] test_os / test_listdir failed as root-directory changed during test

2020-03-16 Thread Matthias Braun
Change by Matthias Braun : -- keywords: +patch pull_requests: +18386 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19035 ___ Python tracker ___

[issue39986] test_os / test_listdir failed as root-directory changed during test

2020-03-16 Thread Matthias Braun
New submission from Matthias Braun : The test_listdir test from Lib/test/test_os.py is using os.listdir() twice in the root directory with and without parameters and compares the results. I just had the test fail for me, because an unrelated process happened to create a file in the root