@@ -729,13 +729,13 @@ def test_two_abs_args(self):
729
729
730
730
SAMPLE_WITH_C_CALL = """
731
731
732
- from _testcapi importpyobject_fastcall
732
+ from _testcapi importpyobject_vectorcall
733
733
734
734
def foo(a, b, c):
735
735
bar(a, b, c)
736
736
737
737
def bar(a, b, c):
738
- pyobject_fastcall (baz, (a, b, c))
738
+ pyobject_vectorcall (baz, (a, b, c), None )
739
739
740
740
def baz(*args):
741
741
id(42)
@@ -756,7 +756,7 @@ def test_pyup_command(self):
756
756
self .assertMultilineMatches (bt ,
757
757
r'''^.*
758
758
#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
759
- #[0-9]+ <built-in methodpyobject_fastcall of module object at remote 0x[0-9a-f]+>
759
+ #[0-9]+ <built-in methodpyobject_vectorcall of module object at remote 0x[0-9a-f]+>
760
760
$''' )
761
761
762
762
@unittest .skipUnless (HAS_PYUP_PYDOWN ,"test requires py-up/py-down commands" )
@@ -785,7 +785,7 @@ def test_up_then_down(self):
785
785
self .assertMultilineMatches (bt ,
786
786
r'''^.*
787
787
#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
788
- #[0-9]+ <built-in methodpyobject_fastcall of module object at remote 0x[0-9a-f]+>
788
+ #[0-9]+ <built-in methodpyobject_vectorcall of module object at remote 0x[0-9a-f]+>
789
789
#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
790
790
$''' )
791
791