From 811236c327fa58ca2b8f643fd641ff89d2437115 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 13 Jun 2012 19:44:44 +0200 Subject: [PATCH] Fix test failure with Python 2.6. --- pym/portage/tests/repoman/test_echangelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/tests/repoman/test_echangelog.py b/pym/portage/tests/repoman/test_echangelog.py index 74aa1c54c..502aa7292 100644 --- a/pym/portage/tests/repoman/test_echangelog.py +++ b/pym/portage/tests/repoman/test_echangelog.py @@ -61,7 +61,7 @@ class RepomanEchangelogTestCase(TestCase): # Test missing ChangeLog, but with empty skel (i.e. do nothing). UpdateChangeLog(self.pkgdir, self.user, 'test!', '/does/not/exist', self.cat, self.pkg, quiet=True) actual_cl = self._readlines(self.changelog) - self.assertGreater(len(actual_cl[0]), 0) + self.assertTrue(len(actual_cl[0]) > 0) def testEmptyChangeLog(self): # Make sure we do the right thing with a 0-byte ChangeLog -- 2.26.2