summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-01-18 17:20:01 +0100
committerVictor Stinner <victor.stinner@gmail.com>2017-01-18 17:20:01 +0100
commit9674949696574bee9ae2bc3b9b56c30ea12285c0 (patch)
tree61889de9b3f41f3cb0cacafa4ab3691ecff138a9 /Lib
parentc4ed3158f8d9458a38a5985eb8e30ac7209fbaf9 (diff)
downloadcpython-9674949696574bee9ae2bc3b9b56c30ea12285c0.tar.gz
Update and enhance python-gdb.py
Issue #29259: * Detect PyCFunction is the current frame, not only in the older frame * Ignore PyCFunction_Call() since it now calls _PyCFunction_FastCallDict(), and _PyCFunction_FastCallDict() is already detected
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_gdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index 60f1d92846..557591f76c 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -845,7 +845,7 @@ id(42)
breakpoint='time_gmtime',
cmds_after_breakpoint=['py-bt-full'],
)
- self.assertIn('#0 <built-in method gmtime', gdb_output)
+ self.assertIn('#1 <built-in method gmtime', gdb_output)
class PyPrintTests(DebuggerTests):