mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897)
This commit is contained in:
parent
a0efc0c196
commit
a27505345e
7 changed files with 37 additions and 7 deletions
|
@ -2,6 +2,11 @@ import sys
|
|||
import unittest
|
||||
from test import support
|
||||
from test.support import import_helper
|
||||
from test.support import check_sanitizer
|
||||
|
||||
if check_sanitizer(address=True, memory=True):
|
||||
raise unittest.SkipTest("Tests involvin libX11 can SEGFAULT on ASAN/MSAN builds")
|
||||
|
||||
|
||||
# Skip this test if the _tkinter module wasn't built.
|
||||
_tkinter = import_helper.import_module('_tkinter')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue