[Python-checkins] python/dist/src/Lib/test test_csv.py,1.1,1.2
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Thu, 20 Mar 2003 17:16:01 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv4787
Modified Files:
test_csv.py
Log Message:
The message "*** skipping leakage tests ***" was causing the test to
fail in a non-debug build. Only print this in verbose test mode.
Index: test_csv.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_csv.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test_csv.py 20 Mar 2003 23:29:12 -0000 1.1
--- test_csv.py 21 Mar 2003 01:15:58 -0000 1.2
***************
*** 7,10 ****
--- 7,11 ----
from csv import csv
import gc
+ from test.test_support import verbose
class Test_Csv(unittest.TestCase):
***************
*** 534,538 ****
if not hasattr(sys, "gettotalrefcount"):
! print "*** skipping leakage tests ***"
else:
class NUL:
--- 535,539 ----
if not hasattr(sys, "gettotalrefcount"):
! if verbose: print "*** skipping leakage tests ***"
else:
class NUL: