diff options
author | Gregory P. Smith <greg@krypto.org> | 2022-05-05 23:22:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 23:22:32 (GMT) |
commit | f6dd14c65336cda4e2ebccbc6408dfe3b0a68a34 (patch) | |
tree | 75e0b51fc5787a7ba02cf1f0534b292fb9a0a528 /Lib/test/test_asyncio | |
parent | 49fda0cc51c09e26d68431d5f86e11d923cf7b8e (diff) | |
download | cpython-f6dd14c65336cda4e2ebccbc6408dfe3b0a68a34.zip cpython-f6dd14c65336cda4e2ebccbc6408dfe3b0a68a34.tar.gz cpython-f6dd14c65336cda4e2ebccbc6408dfe3b0a68a34.tar.bz2 |
gh-82616: Add process_group support to subprocess.Popen (#23930)
One more thing that can help prevent people from using `preexec_fn`.
Also adds conditional skips to two tests exposing ASAN flakiness on the Ubuntu 20.04 Address Sanitizer Github CI system. When that build is run on more modern systems the "problem" does not show up. It seems ASAN implementation related.
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r-- | Lib/test/test_asyncio/test_subprocess.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 14fa6dd..09a5c39 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -15,6 +15,9 @@ from test.support import os_helper if sys.platform != 'win32': from asyncio import unix_events +if support.check_sanitizer(address=True): + raise unittest.SkipTest("Exposes ASAN flakiness in GitHub CI") + # Program blocking PROGRAM_BLOCKED = [sys.executable, '-c', 'import time; time.sleep(3600)'] |