[Python-checkins] r86630 - python/branches/py3k/Lib/test/test_compileall.py

eric.araujo python-checkins at python.org
Sun Nov 21 03:19:09 CET 2010


Author: eric.araujo
Date: Sun Nov 21 03:19:09 2010
New Revision: 86630

Log:
Try to get more useful output from failing buildbot


Modified:
   python/branches/py3k/Lib/test/test_compileall.py

Modified: python/branches/py3k/Lib/test/test_compileall.py
==============================================================================
--- python/branches/py3k/Lib/test/test_compileall.py	(original)
+++ python/branches/py3k/Lib/test/test_compileall.py	Sun Nov 21 03:19:09 2010
@@ -224,7 +224,7 @@
                                      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(


More information about the Python-checkins mailing list