Skip to content

Commit 33dbc09

Browse files
committed
Update test_gdb
1 parent 4d8af2c commit 33dbc09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/test/test_gdb.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -729,13 +729,13 @@ def test_two_abs_args(self):
729729

730730
SAMPLE_WITH_C_CALL = """
731731
732-
from _testcapi import pyobject_fastcall
732+
from _testcapi import pyobject_vectorcall
733733
734734
def foo(a, b, c):
735735
bar(a, b, c)
736736
737737
def bar(a, b, c):
738-
pyobject_fastcall(baz, (a, b, c))
738+
pyobject_vectorcall(baz, (a, b, c), None)
739739
740740
def baz(*args):
741741
id(42)
@@ -756,7 +756,7 @@ def test_pyup_command(self):
756756
self.assertMultilineMatches(bt,
757757
r'''^.*
758758
#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
759-
#[0-9]+ <built-in method pyobject_fastcall of module object at remote 0x[0-9a-f]+>
759+
#[0-9]+ <built-in method pyobject_vectorcall of module object at remote 0x[0-9a-f]+>
760760
$''')
761761

762762
@unittest.skipUnless(HAS_PYUP_PYDOWN, "test requires py-up/py-down commands")
@@ -785,7 +785,7 @@ def test_up_then_down(self):
785785
self.assertMultilineMatches(bt,
786786
r'''^.*
787787
#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
788-
#[0-9]+ <built-in method pyobject_fastcall of module object at remote 0x[0-9a-f]+>
788+
#[0-9]+ <built-in method pyobject_vectorcall of module object at remote 0x[0-9a-f]+>
789789
#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
790790
$''')
791791

0 commit comments

Comments
 (0)