cpython/Lib/test/support
Miss Islington (bot) 0478b52788
[3.13] gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory (GH-157580) (#158429)
* gh-157579: Fix race condition in the cleanup of `tempfile.TemporaryDirectory` (GH-157580)

(cherry picked from commit 5c20517a4f)

Co-authored-by: Stan Ulbrych <stan@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>

* Add root user checks to test.support

This partially backports commit 86b8617747
(GH-146195); making existing tests use the helper is omitted.

* Skip test on Android

* Skip other affected test

---------

Co-authored-by: Stan Ulbrych <stan@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: T. Wouters <thomas@python.org>
2026-10-25 06:41:11 -07:00
..
_hypothesis_stubs
interpreters [3.13] gh-153005: Use a monotonic clock for concurrent.interpreters Queue timeouts (GH-154156) (GH-156019) 2026-08-20 19:46:38 +03:00
__init__.py [3.13] gh-157579: Fix race condition in the cleanup of tempfile.TemporaryDirectory (GH-157580) (#158429) 2026-10-25 06:41:11 -07:00
ast_helper.py
asynchat.py
asyncore.py
bytecode_helper.py
hashlib_helper.py
hypothesis_helper.py
i18n_helper.py
import_helper.py
isolation.py [3.13] gh-75876: Run bigmem tests in a subprocess (GH-155302) (#156014) 2026-09-29 23:51:11 +02:00
logging_helper.py
numbers.py
os_helper.py [3.13] gh-156707: Do not follow junctions in os_helper.rmtree() on Windows (GH-156710) (GH-156716) 2026-08-31 14:36:36 +00:00
pty_helper.py
refleak_helper.py
script_helper.py
smtpd.py
socket_helper.py
subprocess_runner.py
testcase.py
threading_helper.py
venv.py
warnings_helper.py