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

Issue #27358: Backported tests.

üst 78b634d2
...@@ -201,6 +201,21 @@ not function ...@@ -201,6 +201,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