[Python-checkins] CVS: python/dist/src/Lib/test test_generators.py,1.26,1.27
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 16 Aug 2001 01:30:12 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv2583
Modified Files:
test_generators.py
Log Message:
The change of type(None).__name__ from 'None' to 'NoneType' broke this
test in a trivial way. Fixed.
Index: test_generators.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_generators.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** test_generators.py 2001/08/15 04:41:19 1.26
--- test_generators.py 2001/08/16 08:30:10 1.27
***************
*** 781,785 ****
...
>>> type(f())
! <type 'None'>
>>> def f():
--- 781,785 ----
...
>>> type(f())
! <type 'NoneType'>
>>> def f():
***************
*** 791,795 ****
... yield 2
>>> type(f())
! <type 'None'>
>>> def f():
--- 791,795 ----
... yield 2
>>> type(f())
! <type 'NoneType'>
>>> def f():