summaryrefslogtreecommitdiffstats
path: root/Lib/test/test___all__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test___all__.py')
-rw-r--r--Lib/test/test___all__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 81293e1..a1a3d89 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -11,6 +11,13 @@ except ModuleNotFoundError:
_multiprocessing = None
+if support.check_sanitizer(address=True, memory=True):
+ # bpo-46633: test___all__ is skipped because importing some modules
+ # directly can trigger known problems with ASAN (like tk or crypt).
+ raise unittest.SkipTest("workaround ASAN build issues on loading tests "
+ "like tk or crypt")
+
+
class NoAll(RuntimeError):
pass