8000 gh-106359: Fix corner case bugs in Argument Clinic converter parser by erlend-aasland · Pull Request #106361 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-106359: Fix corner case bugs in Argument Clinic converter parser #106361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
quotes
  • Loading branch information
erlend-aasland committed Jul 3, 2023
commit 99ad510198c23ec71a47dbf099e3224e556f071b
4 changes: 2 additions & 2 deletions Lib/test/test_clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,8 @@ def test_kwarg_splats_disallowed_in_function_call_annotations(self):
dataset = (
'module fo\nfo.barbaz\n o: bool(**{None: "bang!"})',
'module fo\nfo.barbaz -> bool(**{None: "bang!"})',
'module fo\nfo.barbaz -> bool(**{bang: 42})',
'module fo\nfo.barbaz\n o: bool(**{bang: None})',
'module fo\nfo.barbaz -> bool(**{"bang": 42})',
'module fo\nfo.barbaz\n o: bool(**{"bang": None})',
)
for fn in dataset:
with self.subTest(fn=fn):
Expand Down
0