mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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,5 +1,9 @@
|
|||
import unittest
|
||||
from test.support.import_helper import import_module
|
||||
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 test_idle if _tkinter wasn't built, if tkinter is missing,
|
||||
# if tcl/tk is not the 8.5+ needed for ttk widgets,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue