From 297abadc6b871c61388c3df2e5e7b3e531a9a813 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 16 Aug 2001 08:32:39 +0000 Subject: The change of type(None).__name__ from 'None' to 'NoneType' broke this test in a trivial way. Fixed. --- Lib/test/output/test_extcall | 4 ++-- Lib/test/test_generators.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/test/output/test_extcall b/Lib/test/output/test_extcall index 24e8c8c..86da352 100644 --- a/Lib/test/output/test_extcall +++ b/Lib/test/output/test_extcall @@ -26,10 +26,10 @@ f() keywords must be strings h() got an unexpected keyword argument 'e' h() argument after * must be a sequence dir() argument after * must be a sequence -None object argument after * must be a sequence +NoneType object argument after * must be a sequence h() argument after ** must be a dictionary dir() argument after ** must be a dictionary -None object argument after ** must be a dictionary +NoneType object argument after ** must be a dictionary dir() got multiple values for keyword argument 'b' 3 512 1 3 diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index 41629d3..947e26f 100644 --- a/Lib/test/test_generators.py +++ b/Lib/test/test_generators.py @@ -780,7 +780,7 @@ SyntaxError: invalid syntax ... yield 1 ... >>> type(f()) - + >>> def f(): ... if 0: @@ -790,7 +790,7 @@ SyntaxError: invalid syntax ... def f(self): ... yield 2 >>> type(f()) - + >>> def f(): ... if 0: -- cgit v0.12