[Python-checkins] cpython (3.5): Issue #28257: Backported a test.

serhiy.storchaka python-checkins at python.org
Sun Oct 2 03:38:26 EDT 2016


https://hg.python.org/cpython/rev/40d7ce58ebd0
changeset:   104229:40d7ce58ebd0
branch:      3.5
parent:      104224:258ebc539b2e
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sun Oct 02 10:36:33 2016 +0300
summary:
  Issue #28257: Backported a test.

files:
  Lib/test/test_extcall.py |  5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py
--- a/Lib/test/test_extcall.py
+++ b/Lib/test/test_extcall.py
@@ -233,6 +233,11 @@
       ...
     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):
       ...

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list