From: Steve Purcell Date: Thu, 8 Aug 2002 13:38:02 +0000 (+0000) Subject: Add module-wide "__metaclass__ = type", as requested by Jim Fulton. X-Git-Tag: v2.3c1~4618 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=824574d3d4c4749e21c0d9b093f688934f38699a;p=thirdparty%2FPython%2Fcpython.git Add module-wide "__metaclass__ = type", as requested by Jim Fulton. (Synched from pyunit CVS) --- diff --git a/Lib/unittest.py b/Lib/unittest.py index 2523f431c40e..ae751af10e3f 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -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.