mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -1,6 +1,10 @@
|
|||
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 _tkinter wasn't built.
|
||||
import_helper.import_module('_tkinter')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue