summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_extcall.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-02 07:36:33 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-02 07:36:33 (GMT)
commit78b634d2261e62803f537e38698d618e5dbf9d8f (patch)
treef9f3e78577bf861ccc97067d703623e57ead8ce5 /Lib/test/test_extcall.py
parent5170c16d2105ef5a1a049d2fd8a05439f6b47229 (diff)
downloadcpython-78b634d2261e62803f537e38698d618e5dbf9d8f.zip
cpython-78b634d2261e62803f537e38698d618e5dbf9d8f.tar.gz
cpython-78b634d2261e62803f537e38698d618e5dbf9d8f.tar.bz2
Issue #28257: Backported a test.
Diffstat (limited to 'Lib/test/test_extcall.py')
-rw-r--r--Lib/test/test_extcall.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py
index cb2c45e..6860751 100644
--- a/Lib/test/test_extcall.py
+++ b/Lib/test/test_extcall.py
@@ -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):
...