From cbcd321ebc204d04a4460ecc3accfb245b9ffacd Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 26 Nov 2012 03:59:17 +0100 Subject: Do not use assertGreater(), which was introduced in Python 2.7 and 3.1. --HG-- branch : distribute extra : rebase_source : b0d3166887c9a287fd885e19f804e9d254b8dbc8 --- setuptools/tests/test_easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/tests/test_easy_install.py') diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index 1540bdc6..7ed0cd37 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -386,7 +386,7 @@ class TestSetupRequires(unittest.TestCase): 'VersionConflict') lines = stdout.splitlines() - self.assertGreater(len(lines), 0) + self.assertTrue(len(lines) > 0) self.assert_(lines[-1].strip(), 'test_pkg') try: -- cgit v1.2.1