gh-104683: Argument Clinic: Extract parse function name helper (#107964)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Erlend E. Aasland 2023-08-16 15:47:15 +02:00 committed by GitHub
parent b61f5995ae
commit 42429d3b9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 33 deletions

View file

@ -682,7 +682,7 @@ class ClinicWholeFileTest(TestCase):
foo2 as .illegal. = foo1
[clinic start generated code]*/
"""
err = "Illegal C basename: '.illegal. = foo1'"
err = "Illegal C basename: '.illegal.'"
self.expect_failure(block, err, lineno=7)