cpython/Lib/test/support
Serhiy Storchaka 3f1ea163ea
[3.9] bpo-46426: Improve tests for the dir_fd argument (GH-30668) (GH-30757)
Ensure that directory file descriptors refer to directories different
from the current directory, and that src_dir_fd and dst_dir_fd refer
to different directories.

Add context manager open_dir_fd() in test.support.os_helper.
(cherry picked from commit 54610bb448)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-01-24 12:14:42 +02:00
..
__init__.py [3.9] bpo-46426: Improve tests for the dir_fd argument (GH-30668) (GH-30757) 2022-01-24 12:14:42 +02:00
bytecode_helper.py bpo-18578: Rename and document test.bytecode_helper as test.support.bytecode_helper (GH-15168) 2019-09-12 10:02:59 +01:00
hashlib_helper.py [3.9] bpo-45042: Now test classes decorated with requires_hashdigest are not skipped (GH-28060) (GH-28169) 2021-09-05 09:41:33 +03:00
logging_helper.py bpo-40275: Avoid importing logging in test.support (GH-19601) 2020-04-25 11:35:18 +03:00
script_helper.py bpo-38991: Remove test.support.strip_python_stderr() (GH-17490) 2019-12-08 08:38:16 +01:00
socket_helper.py bpo-40275: Fix name error in support.socket_helper (GH-19825) 2020-05-01 02:35:24 +02:00
testresult.py [3.9] bpo-45057: Simplify RegressionTestResult (GH-28081) (GH-28103) 2021-09-01 09:45:09 +03:00
warnings_helper.py [3.9] bpo-44852: Support ignoring specific DeprecationWarnings wholesale in regrtest (GH-27634) (GH-27785) 2021-08-16 22:47:08 +02:00