]> granicus.if.org Git - python/commitdiff
Issue #28257: Backported a test.
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 2 Oct 2016 07:36:33 +0000 (10:36 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 2 Oct 2016 07:36:33 +0000 (10:36 +0300)
Lib/test/test_extcall.py

index 5eea37989ca5d547e8f014274238a1008e2d010a..420f12287b42082b84bbb92e950dd444bd54d8d4 100644 (file)
@@ -233,6 +233,11 @@ What about willful misconduct?
       ...
     TypeError: h() argument after * must be an iterable, not function
 
+    >>> h(1, *h)
+    Traceback (most recent call last):
+      ...
+    TypeError: h() argument after * must be an iterable, not function
+
     >>> dir(*h)
     Traceback (most recent call last):
       ...