Issue #27358: Backported tests.

This commit is contained in:
Serhiy Storchaka 2016-10-02 11:10:18 +03:00
parent 6498e5270e
commit d556a35242
1 changed files with 15 additions and 0 deletions

View File

@ -254,6 +254,21 @@ not function
...
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):
...