diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 17:20:01 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-18 17:20:01 +0100 |
commit | fa025f112f7467b124f7ac4be5e9c7bb3cc05ad8 (patch) | |
tree | c5259e9fa0022c79c98adf30a53d16d7111ec32c /Lib/test/test_gdb.py | |
parent | e69f0e6111facf751b75f6c73bb6dee2207af366 (diff) | |
download | cpython-git-fa025f112f7467b124f7ac4be5e9c7bb3cc05ad8.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/test/test_gdb.py')
-rw-r--r-- | Lib/test/test_gdb.py | 2 |
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): |