changeset: 104230:a8168a52a56f branch: 2.7 parent: 104212:38e954a2a37e user: Serhiy Storchaka date: Sun Oct 02 10:36:33 2016 +0300 files: Lib/test/test_extcall.py description: Issue #28257: Backported a test. diff -r 38e954a2a37e -r a8168a52a56f Lib/test/test_extcall.py --- a/Lib/test/test_extcall.py Sat Oct 01 08:24:55 2016 +0300 +++ b/Lib/test/test_extcall.py Sun Oct 02 10:36:33 2016 +0300 @@ -180,6 +180,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): ...