Skip to content
Merged
Show file tree
Hide file tree
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
Apply suggestions from code review
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
erlend-aasland and AlexWaygood authored Jul 3, 2023
commit 5d88ab6ccb71995487b80d728ffd7d062b632fbb
2 changes: 1 addition & 1 deletion Lib/test/test_clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ def test_other_bizarre_things_in_annotations_fail(self):
)
self.assertEqual(s, expected_failure_message)

def test_bizarre_parseable_annotations(self):
def test_kwarg_splats_disallowed_in_function_call_annotations(self):
expected_error_msg = (
"Error on line 0\n"
"Cannot use a kwarg splat in a function-call annotation"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Argument Clinic now explicitly require that keys are string if the provided
parameter annotation is a dict.
Argument Clinic now explicitly forbids "kwarg splats" in function calls used as
annotations
Comment thread
erlend-aasland marked this conversation as resolved.
Outdated