]> 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 cb2c45e77c06c00d668db4ac4c96058b68925959..6860751e578620cecc6664bd9cf103f33fe826fe 100644 (file)
@@ -180,6 +180,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):
       ...