mirror of
https://github.com/python/cpython.git
synced 2026-01-08 00:12:42 +00:00
Issue #27358: Backported tests.
This commit is contained in:
parent
6498e5270e
commit
d556a35242
1 changed files with 15 additions and 0 deletions
|
|
@ -254,6 +254,21 @@
|
|||
...
|
||||
TypeError: h() argument after ** must be a mapping, not function
|
||||
|
||||
>>> h(**[])
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
TypeError: h() argument after ** must be a mapping, not list
|
||||
|
||||
>>> h(a=1, **h)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
TypeError: h() argument after ** must be a mapping, not function
|
||||
|
||||
>>> h(a=1, **[])
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
TypeError: h() argument after ** must be a mapping, not list
|
||||
|
||||
>>> dir(**h)
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue