summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tix.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_tix.py')
-rw-r--r--Lib/test/test_tix.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_tix.py b/Lib/test/test_tix.py
index 8a60c7c..454baeb 100644
--- a/Lib/test/test_tix.py
+++ b/Lib/test/test_tix.py
@@ -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')