cpython/Lib/test/support
Ronald Oussoren 953ee622b3
gh-109981: Fix support.fd_count() on macOS 14 (#112797)
Use scanning "/dev/fd/" on macOS in support.fd_count(). That's both more efficient than scanning all possible file descriptors, and avoids crashing the interpreter when there are open "guarded" file descriptors.

"Guarded" file descriptors are a macOS feature where file descriptors used by system libraries are marked and cause hard crashes when used by "user" code.

Co-authored-by: Victor Stinner <vstinner@python.org>
2023-12-07 10:30:15 +01:00
..
_hypothesis_stubs
__init__.py gh-112535: Add test on _Py_ThreadId() (#112709) 2023-12-04 22:40:06 +00:00
ast_helper.py
asynchat.py
asyncore.py
bytecode_helper.py
hashlib_helper.py
hypothesis_helper.py Disable differing_test_runners health check (#108886) 2023-09-04 18:31:58 +00:00
import_helper.py gh-109625: Move _ready_to_import() from test_import to support.import_helper (#109626) 2023-09-21 09:39:36 +02:00
interpreters.py gh-76785: Return an "excinfo" Object From Interpreter.run() (gh-111573) 2023-11-23 00:55:00 +00:00
logging_helper.py
os_helper.py gh-109981: Fix support.fd_count() on macOS 14 (#112797) 2023-12-07 10:30:15 +01:00
pty_helper.py gh-110944: Move pty helper to test.support and add basic pdb completion test (GH-111826) 2023-11-13 11:23:06 +01:00
script_helper.py gh-111881: Import lazily zipfile in support.script_helper (#112172) 2023-11-16 18:57:22 +01:00
socket_helper.py gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) 2023-09-07 01:58:03 +02:00
testcase.py
threading_helper.py gh-111644: Fix support threading_cleanup() (#111714) 2023-11-04 00:18:42 +00:00
warnings_helper.py