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