The message "*** skipping leakage tests ***" was causing the test to

fail in a non-debug build.  Only print this in verbose test mode.
This commit is contained in:
Guido van Rossum 2003-03-21 01:15:58 +00:00
parent 0135b65c01
commit e3d1df0646

View file

@ -6,6 +6,7 @@ import unittest
from StringIO import StringIO
from csv import csv
import gc
from test.test_support import verbose
class Test_Csv(unittest.TestCase):
"""
@ -533,7 +534,7 @@ class TestDialectValidity(unittest.TestCase):
if not hasattr(sys, "gettotalrefcount"):
print "*** skipping leakage tests ***"
if verbose: print "*** skipping leakage tests ***"
else:
class NUL:
def write(s, *args):