diff options
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, \ |