mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-108444: Argument Clinic uses PyLong_AsInt() (#108458)
Argument Clinic now uses the new public PyLong_AsInt(), rather than the old name _PyLong_AsInt().
This commit is contained in:
parent
be800f4be7
commit
4e5a7284ee
73 changed files with 467 additions and 466 deletions
|
@ -2463,11 +2463,12 @@ class ClinicExternalTest(TestCase):
|
|||
# Verify by checking the checksum.
|
||||
checksum = (
|
||||
"/*[clinic end generated code: "
|
||||
"output=2124c291eb067d76 input=9543a8d2da235301]*/\n"
|
||||
"output=c16447c01510dfb3 input=9543a8d2da235301]*/\n"
|
||||
)
|
||||
with open(fn, 'r', encoding='utf-8') as f:
|
||||
generated = f.read()
|
||||
self.assertTrue(generated.endswith(checksum))
|
||||
self.assertTrue(generated.endswith(checksum),
|
||||
(generated, checksum))
|
||||
|
||||
def test_cli_make(self):
|
||||
c_code = dedent("""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue