Commit 297abadc authored by Guido van Rossum's avatar Guido van Rossum

The change of type(None).__name__ from 'None' to 'NoneType' broke this

test in a trivial way.  Fixed.
parent 8098ddbe
......@@ -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
......
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment