From: Éric Araujo Date: Sun, 21 Nov 2010 02:19:09 +0000 (+0000) Subject: Try to get more useful output from failing buildbot X-Git-Tag: v3.2b1~271 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a491cedaf45252cb8431b0fd45bc0383cd00115b;p=thirdparty%2FPython%2Fcpython.git Try to get more useful output from failing buildbot --- diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py index 4fd7ddfda297..dd0962f20a83 100644 --- a/Lib/test/test_compileall.py +++ b/Lib/test/test_compileall.py @@ -224,7 +224,7 @@ class CommandLineTests(unittest.TestCase): sys.executable, self.pkgdir)) quiet = subprocess.getoutput(('{} -m compileall {}'.format( sys.executable, self.pkgdir))) - self.assertTrue(len(noise) > len(quiet)) + self.assertGreater(len(noise), len(quiet)) def test_regexp(self): retcode = subprocess.call(