summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gdb.py
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2021-11-09 11:19:47 (GMT)
committerGitHub <noreply@github.com>2021-11-09 11:19:47 (GMT)
commitf4c03484da59049eb62a9bf7777b963e2267d187 (patch)
treea1c9d1da40c919a7852e5c690d149d83a135cdf6 /Lib/test/test_gdb.py
parent6a1cc8bf8a0d88af9c7891c6577508ae9f70e3ef (diff)
downloadcpython-f4c03484da59049eb62a9bf7777b963e2267d187.zip
cpython-f4c03484da59049eb62a9bf7777b963e2267d187.tar.gz
cpython-f4c03484da59049eb62a9bf7777b963e2267d187.tar.bz2
bpo-45637: Remove broken fallback in gdb helpers to obtain frame variable (GH-29257)
Diffstat (limited to 'Lib/test/test_gdb.py')
-rw-r--r--Lib/test/test_gdb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index 2805eaf..eaeb6fb 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -823,6 +823,8 @@ Traceback \(most recent call first\):
foo\(1, 2, 3\)
''')
+ @unittest.skipIf(python_is_optimized(),
+ "Python was compiled with optimizations")
def test_threads(self):
'Verify that "py-bt" indicates threads that are waiting for the GIL'
cmd = '''