diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-02-19 13:49:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-19 13:49:09 +0200 |
commit | 8e79e6e56f516385ccb761e407dfff3a39253180 (patch) | |
tree | 288fe0464276f9f8efb96556c1dee35766e3a089 /Lib/test/test_extcall.py | |
parent | e7a4bb554edb72fc6619d23241d59162d06f249a (diff) | |
download | cpython-git-8e79e6e56f516385ccb761e407dfff3a39253180.tar.gz |
Fix syntax warnings in tests introduced in bpo-15248. (GH-11932)
Diffstat (limited to 'Lib/test/test_extcall.py')
-rw-r--r-- | Lib/test/test_extcall.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py index a3ff4413ee..3cac3bda42 100644 --- a/Lib/test/test_extcall.py +++ b/Lib/test/test_extcall.py @@ -264,7 +264,8 @@ What about willful misconduct? ... TypeError: dir() argument after * must be an iterable, not function - >>> None(*h) + >>> nothing = None + >>> nothing(*h) Traceback (most recent call last): ... TypeError: NoneType object argument after * must be an iterable, \ @@ -305,7 +306,7 @@ not function ... TypeError: dir() argument after ** must be a mapping, not function - >>> None(**h) + >>> nothing(**h) Traceback (most recent call last): ... TypeError: NoneType object argument after ** must be a mapping, \ |