Skip to content
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
Next Next commit
Don't just use None
  • Loading branch information
erlend-aasland committed Jul 3, 2023
commit 277c01be13d748176d68073514899c8b18d884ae
2 changes: 1 addition & 1 deletion Lib/test/test_clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ 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: None})',
'module fo\nfo.barbaz -> bool(**{bang: 42})',
'module fo\nfo.barbaz\n o: bool(**{bang: None})',
)
Comment thread
erlend-aasland marked this conversation as resolved.
for fn in dataset:
Expand Down