Commit e3d1df06 authored by Guido van Rossum's avatar Guido van Rossum

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

fail in a non-debug build.  Only print this in verbose test mode.
parent 0135b65c
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment