mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
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:
parent
0135b65c01
commit
e3d1df0646
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue