summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-01-06 21:26:44 (GMT)
committerGuido van Rossum <guido@python.org>2003-01-06 21:26:44 (GMT)
commit2720b0dff80650a04f8ebb3cc7163ec6897e02dd (patch)
tree4d94c6e9e85fb1489f718b078011c81b0e3d3054 /Lib
parentf09b88ee2f4da2f7d6d46194d543aae0b823b9ae (diff)
downloadcpython-2720b0dff80650a04f8ebb3cc7163ec6897e02dd.zip
cpython-2720b0dff80650a04f8ebb3cc7163ec6897e02dd.tar.gz
cpython-2720b0dff80650a04f8ebb3cc7163ec6897e02dd.tar.bz2
Add some print statements in verbose mode to announce that the newest
tests are run. (All tests in this module should have one of these at the top.)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_descr.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index ce9262d..19fd774 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -3441,6 +3441,8 @@ def do_this_first():
type.mro(tuple)
def test_mutable_bases():
+ if verbose:
+ print "Testing mutable bases..."
# stuff that should work:
class C(object):
pass
@@ -3538,6 +3540,8 @@ def test_mutable_bases():
raise TestFailed, "new-style class must have a new-style base"
def test_mutable_bases_with_failing_mro():
+ if verbose:
+ print "Testing mutable bases with failing mro..."
class WorkOnce(type):
def __new__(self, name, bases, ns):
self.flag = 0
@@ -3591,6 +3595,8 @@ def test_mutable_bases_with_failing_mro():
raise TestFailed, "exception not propagated"
def test_mutable_bases_catch_mro_conflict():
+ if verbose:
+ print "Testing mutable bases catch mro conflict..."
class A(object):
pass
@@ -3614,6 +3620,8 @@ def test_mutable_bases_catch_mro_conflict():
raise TestFailed, "didn't catch MRO conflict"
def mutable_names():
+ if verbose:
+ print "Testing mutable names..."
class C(object):
pass