cleanup debugging trace stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 23 Apr 2010 13:36:43 +0200
branchstable
changeset 5403 354cf5ef31dc
parent 5402 ea73a6e39d19
child 5404 092bb9355769
cleanup debugging trace
devtools/test/unittest_testlib.py
--- a/devtools/test/unittest_testlib.py	Fri Apr 23 12:19:54 2010 +0200
+++ b/devtools/test/unittest_testlib.py	Fri Apr 23 13:36:43 2010 +0200
@@ -21,7 +21,7 @@
     def setUp(self):
         output = StringIO()
         self.runner = SkipAwareTextTestRunner(stream=output)
-        self.output = output
+
     def test_error_raised(self):
         class MyWebTest(CubicWebTC):
 
@@ -34,7 +34,6 @@
 
         tests = [MyWebTest('test_error_view'), MyWebTest('test_correct_view')]
         result = self.runner.run(TestSuite(tests))
-        print self.output.getvalue()
         self.assertEquals(result.testsRun, 2)
         self.assertEquals(len(result.errors), 0)
         self.assertEquals(len(result.failures), 1)