From 78b634d2261e62803f537e38698d618e5dbf9d8f 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 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): ... -- cgit v0.12