]> granicus.if.org Git - python/commitdiff
Try to get more useful output from failing buildbot
authorÉric Araujo <merwok@netwok.org>
Sun, 21 Nov 2010 02:19:09 +0000 (02:19 +0000)
committerÉric Araujo <merwok@netwok.org>
Sun, 21 Nov 2010 02:19:09 +0000 (02:19 +0000)
Lib/test/test_compileall.py

index 4fd7ddfda297cf430391c072921626b965da9d61..dd0962f20a835b5c70fe01d9617f4071939ebcb2 100644 (file)
@@ -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(