From: Guido van Rossum Date: Thu, 16 Aug 2001 08:32:39 +0000 (+0000) Subject: The change of type(None).__name__ from 'None' to 'NoneType' broke this X-Git-Tag: v2.2a3~514 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=297abadc6b871c61388c3df2e5e7b3e531a9a813;p=thirdparty%2FPython%2Fcpython.git The change of type(None).__name__ from 'None' to 'NoneType' broke this test in a trivial way. Fixed. --- diff --git a/Lib/test/output/test_extcall b/Lib/test/output/test_extcall index 24e8c8c72b43..86da35281590 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 41629d352741..947e26f4b6d8 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: