summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-16 08:32:39 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-16 08:32:39 (GMT)
commit297abadc6b871c61388c3df2e5e7b3e531a9a813 (patch)
treedf7df13bd1a9915e82113ff57e4238ee90e28661 /Lib
parent8098ddbe814325c7869f7d63aa102019b353c6b6 (diff)
downloadcpython-297abadc6b871c61388c3df2e5e7b3e531a9a813.zip
cpython-297abadc6b871c61388c3df2e5e7b3e531a9a813.tar.gz
cpython-297abadc6b871c61388c3df2e5e7b3e531a9a813.tar.bz2
The change of type(None).__name__ from 'None' to 'NoneType' broke this
test in a trivial way. Fixed.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/output/test_extcall4
-rw-r--r--Lib/test/test_generators.py4
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())
-<type 'None'>
+<type 'NoneType'>
>>> def f():
... if 0:
@@ -790,7 +790,7 @@ SyntaxError: invalid syntax
... def f(self):
... yield 2
>>> type(f())
-<type 'None'>
+<type 'NoneType'>
>>> def f():
... if 0: