cpython/Lib/test/test_os
Victor Stinner 52c8efa87d
gh-145335: Fix os functions when passing fd -1 as path (#145439)
os.listdir(-1) and os.scandir(-1) now fail with OSError(errno.EBADF)
rather than listing the current directory.

os.listxattr(-1) now fails with OSError(errno.EBADF) rather than
listing extended attributes of the current directory.
2026-03-03 13:57:08 +01:00
..
__init__.py
test_os.py gh-145335: Fix os functions when passing fd -1 as path (#145439) 2026-03-03 13:57:08 +01:00
test_posix.py gh-143698: correctly check scheduler and setpgroup values for os.posix_spawn[p] (#143699) 2026-02-21 11:20:42 +00:00
test_windows.py
utils.py