aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>2012-11-26 03:59:17 +0100
committerArfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>2012-11-26 03:59:17 +0100
commitcbcd321ebc204d04a4460ecc3accfb245b9ffacd (patch)
tree4c6c8cc6e218d1b47e90260b96caa3f627a585dc /setuptools/tests/test_easy_install.py
parent40102f07a08808c2c356891608fd201ee02e618b (diff)
downloadexternal_python_setuptools-cbcd321ebc204d04a4460ecc3accfb245b9ffacd.tar.gz
external_python_setuptools-cbcd321ebc204d04a4460ecc3accfb245b9ffacd.tar.bz2
external_python_setuptools-cbcd321ebc204d04a4460ecc3accfb245b9ffacd.zip
Do not use assertGreater(), which was introduced in Python 2.7 and 3.1.
--HG-- branch : distribute extra : rebase_source : b0d3166887c9a287fd885e19f804e9d254b8dbc8
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py2
1 files changed, 1 insertions, 1 deletions
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: