Skip to content

Commit

Permalink
The message "*** skipping leakage tests ***" was causing the test to
Browse files Browse the repository at this point in the history
fail in a non-debug build.  Only print this in verbose test mode.
  • Loading branch information
gvanrossum committed Mar 21, 2003
1 parent 0135b65 commit e3d1df0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from StringIO import StringIO
from csv import csv
import gc
from test.test_support import verbose

class Test_Csv(unittest.TestCase):
"""
Expand Down Expand Up @@ -533,7 +534,7 @@ class mydialect(csv.Dialect):


if not hasattr(sys, "gettotalrefcount"):
print "*** skipping leakage tests ***"
if verbose: print "*** skipping leakage tests ***"
else:
class NUL:
def write(s, *args):
Expand Down

0 comments on commit e3d1df0

Please sign in to comment.