mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Add module-wide "__metaclass__ = type", as requested by Jim Fulton.
(Synched from pyunit CVS)
This commit is contained in:
parent
6c511e6d1c
commit
824574d3d4
1 changed files with 4 additions and 1 deletions
|
@ -46,7 +46,7 @@ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||||
|
|
||||||
__author__ = "Steve Purcell"
|
__author__ = "Steve Purcell"
|
||||||
__email__ = "stephen_purcell at yahoo dot com"
|
__email__ = "stephen_purcell at yahoo dot com"
|
||||||
__version__ = "#Revision: 1.43 $"[11:-2]
|
__version__ = "#Revision: 1.45 $"[11:-2]
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import sys
|
import sys
|
||||||
|
@ -59,6 +59,9 @@ import types
|
||||||
# Test framework core
|
# Test framework core
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
|
# All classes defined herein are 'new-style' classes, allowing use of 'super()'
|
||||||
|
__metaclass__ = type
|
||||||
|
|
||||||
class TestResult:
|
class TestResult:
|
||||||
"""Holder for test result information.
|
"""Holder for test result information.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue