]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add module-wide "__metaclass__ = type", as requested by Jim Fulton.
authorSteve Purcell <steve@pythonconsulting.com>
Thu, 8 Aug 2002 13:38:02 +0000 (13:38 +0000)
committerSteve Purcell <steve@pythonconsulting.com>
Thu, 8 Aug 2002 13:38:02 +0000 (13:38 +0000)
(Synched from pyunit CVS)

Lib/unittest.py

index 2523f431c40edd795711b1651f240dab25fbd8de..ae751af10e3ff93a2db6c1c2222e6dc486828565 100644 (file)
@@ -46,7 +46,7 @@ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 
 __author__ = "Steve Purcell"
 __email__ = "stephen_purcell at yahoo dot com"
-__version__ = "#Revision: 1.43 $"[11:-2]
+__version__ = "#Revision: 1.45 $"[11:-2]
 
 import time
 import sys
@@ -59,6 +59,9 @@ import types
 # Test framework core
 ##############################################################################
 
+# All classes defined herein are 'new-style' classes, allowing use of 'super()'
+__metaclass__ = type
+
 class TestResult:
     """Holder for test result information.