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")