Kaydet (Commit) d556a352 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Issue #27358: Backported tests.

üst 6498e527
...@@ -254,6 +254,21 @@ not function ...@@ -254,6 +254,21 @@ not function
... ...
TypeError: h() argument after ** must be a mapping, 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) >>> dir(**h)
Traceback (most recent call last): Traceback (most recent call last):
... ...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment