mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-117657: Skip test when running under TSan (GH-121549)
The ProcessPoolForkserver combined with resource_tracker starts a thread after forking, which is not supported by TSan. Also skip test_multiprocessing_fork for the same reason
This commit is contained in:
parent
9c08f40a61
commit
04397434aa
2 changed files with 4 additions and 0 deletions
|
@ -12,5 +12,8 @@ if sys.platform == "win32":
|
|||
if sys.platform == 'darwin':
|
||||
raise unittest.SkipTest("test may crash on macOS (bpo-33725)")
|
||||
|
||||
if support.check_sanitizer(thread=True):
|
||||
raise unittest.SkipTest("TSAN doesn't support threads after fork")
|
||||
|
||||
def load_tests(*args):
|
||||
return support.load_package_tests(os.path.dirname(__file__), *args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue