From 6498e5270e38ea9f7d868359fa6b29c8d613e77b Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 2 Oct 2016 10:36:33 +0300 Subject: Issue #28257: Backported a test. --- Lib/test/test_extcall.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py index 5eea379..420f122 100644 --- a/Lib/test/test_extcall.py +++ b/Lib/test/test_extcall.py @@ -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): ... -- cgit v0.12