From c76f29d10e2ed5ee2926c55701ad227ede5fe4ff Mon Sep 17 00:00:00 2001 From: Davide Rizzo Date: Wed, 6 Sep 2023 13:24:59 +0200 Subject: [PATCH] gh-91960: skip test_gdb when built with clang test_gdb should be skipped on all platforms when CPython is compiled with Clang, not only Darwin. --- Lib/test/test_gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index c05a2d387c429c..3e68d112d1e4c4 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -55,7 +55,7 @@ def get_gdb_version(): if not sysconfig.is_python_build(): raise unittest.SkipTest("test_gdb only works on source builds at the moment.") -if 'Clang' in platform.python_compiler() and sys.platform == 'darwin': +if 'Clang' in platform.python_compiler(): raise unittest.SkipTest("test_gdb doesn't work correctly when python is" " built with LLVM clang")