diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-02 07:36:33 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-02 07:36:33 (GMT) |
commit | 6498e5270e38ea9f7d868359fa6b29c8d613e77b (patch) | |
tree | 939f2ad2c8434af2ee6d1a21ca1d7a8c8de681c6 /Lib/test | |
parent | 85c3f268f4a2ef4057416e7b89d1d36e9866d197 (diff) | |
download | cpython-6498e5270e38ea9f7d868359fa6b29c8d613e77b.zip cpython-6498e5270e38ea9f7d868359fa6b29c8d613e77b.tar.gz cpython-6498e5270e38ea9f7d868359fa6b29c8d613e77b.tar.bz2 |
Issue #28257: Backported a test.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | 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 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): ... |