diff options
author | Steve Purcell <steve@pythonconsulting.com> | 2002-08-08 13:38:02 (GMT) |
---|---|---|
committer | Steve Purcell <steve@pythonconsulting.com> | 2002-08-08 13:38:02 (GMT) |
commit | 824574d3d4c4749e21c0d9b093f688934f38699a (patch) | |
tree | 3d0ddc3d1c31b4ff394ddfcc669c654bb7158380 /Lib/unittest.py | |
parent | 6c511e6d1cde2bc20669b9efe0aa32517884deb6 (diff) | |
download | cpython-824574d3d4c4749e21c0d9b093f688934f38699a.zip cpython-824574d3d4c4749e21c0d9b093f688934f38699a.tar.gz cpython-824574d3d4c4749e21c0d9b093f688934f38699a.tar.bz2 |
Add module-wide "__metaclass__ = type", as requested by Jim Fulton.
(Synched from pyunit CVS)
Diffstat (limited to 'Lib/unittest.py')
-rw-r--r-- | Lib/unittest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py index 2523f43..ae751af 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. |