[Python-checkins] python/dist/src/Lib unittest.py,1.16,1.17
purcell@users.sourceforge.net
purcell@users.sourceforge.net
Thu, 08 Aug 2002 06:38:04 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv28242/Lib
Modified Files:
unittest.py
Log Message:
Add module-wide "__metaclass__ = type", as requested by Jim Fulton.
(Synched from pyunit CVS)
Index: unittest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/unittest.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** unittest.py 31 May 2002 14:15:11 -0000 1.16
--- unittest.py 8 Aug 2002 13:38:02 -0000 1.17
***************
*** 47,51 ****
__author__ = "Steve Purcell"
__email__ = "stephen_purcell at yahoo dot com"
! __version__ = "#Revision: 1.43 $"[11:-2]
import time
--- 47,51 ----
__author__ = "Steve Purcell"
__email__ = "stephen_purcell at yahoo dot com"
! __version__ = "#Revision: 1.45 $"[11:-2]
import time
***************
*** 59,62 ****
--- 59,65 ----
# Test framework core
##############################################################################
+
+ # All classes defined herein are 'new-style' classes, allowing use of 'super()'
+ __metaclass__ = type
class TestResult: