gh-106368: Argument clinic: improve coverage for self.valid_line() calls (#107641)

This commit is contained in:
Alex Waygood 2023-08-04 20:41:04 +01:00 committed by GitHub
parent 904b5319b3
commit 2c25bd82f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 3 deletions

View file

@ -4685,9 +4685,7 @@ class DSLParser:
# this line is permitted to start with whitespace.
# we'll call this number of spaces F (for "function").
if not self.valid_line(line):
return
assert self.valid_line(line)
self.indent.infer(line)
# are we cloning?