]> granicus.if.org Git - python/commitdiff
Suppress the variable verbose output from test.xmltests; the inclusion of
authorFred Drake <fdrake@acm.org>
Wed, 26 Jun 2002 15:16:16 +0000 (15:16 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 26 Jun 2002 15:16:16 +0000 (15:16 +0000)
timing information in the output makes the determination of success bogus.

Lib/test/output/xmltests
Lib/test/xmltests.py

index 28641735c4583bdb69ced2feab782d800064eec1..c798f6e33e49d31420842a8bce921c86f3b32e6e 100644 (file)
@@ -362,18 +362,3 @@ Passed test_xmlgen_ignorable
 Passed test_xmlgen_ns
 Passed test_xmlgen_pi
 37 tests, 0 failures
-test_simple (test.test_xmllib.XMLParserTestCase) ... ok
-
-----------------------------------------------------------------------
-Ran 1 test in 0.019s
-
-OK
-test_dump_bad_dict (test.test_xmlrpc.XMLRPCTestCase) ... ok
-test_dump_big_int (test.test_xmlrpc.XMLRPCTestCase) ... ok
-test_dump_big_long (test.test_xmlrpc.XMLRPCTestCase) ... ok
-test_dump_load (test.test_xmlrpc.XMLRPCTestCase) ... ok
-
-----------------------------------------------------------------------
-Ran 4 tests in 0.005s
-
-OK
index 70ca9225e0a8e0ae02811b1fb426a49bf18aa44d..7963035be1d6bbdd7297c42f11561f1183a146a4 100644 (file)
@@ -2,6 +2,9 @@
 # standard library.
 
 import sys
+import test.test_support
+
+test.test_support.verbose = 0
 
 def runtest(name):
     __import__(name)