mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Issue #24791: Add tests for things that regressed with PEP 448
This commit is contained in:
parent
920a335e97
commit
36948d7875
1 changed files with 2 additions and 0 deletions
|
|
@ -204,7 +204,9 @@ class GrammarTests(unittest.TestCase):
|
|||
d01()
|
||||
d01(1)
|
||||
d01(*(1,))
|
||||
d01(*[] or [2])
|
||||
d01(**{'a':2})
|
||||
d01(**{'a':2} or {})
|
||||
def d11(a, b=1): pass
|
||||
d11(1)
|
||||
d11(1, 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue