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
Update Lib/test/test_inspect.py
  • Loading branch information
sobolevn authored Apr 15, 2023
commit a4cf53818329a5644fc0265b324b77a01f7a6a52
4 changes: 2 additions & 2 deletions Lib/test/test_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2469,8 +2469,8 @@ def test(po, /, pk, pkd=100, *args, ko, kod=10, **kwargs):
self.assertTrue(repr(sig).startswith('<Signature'))
self.assertTrue('(po, /, pk' in repr(sig))

# We need to functions, because it is impossible to represent
# all arg kinds in a single one.
# We need two functions, because it is impossible to represent
# all param kinds in a single one.
def test2(pod=42, /):
pass

Expand Down