The change of type(None).__name__ from 'None' to 'NoneType' broke this
test in a trivial way. Fixed.
This commit is contained in:
parent
8098ddbe81
commit
297abadc6b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue