Do not use assertGreater(), which was introduced in Python 2.7 and 3.1.

--HG--
branch : distribute
extra : rebase_source : b0d3166887c9a287fd885e19f804e9d254b8dbc8
parent 40102f07
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
CHANGES CHANGES
======= =======
------
0.6.32
------
* Fix test suite with Python 2.6.
------ ------
0.6.31 0.6.31
------ ------
......
...@@ -386,7 +386,7 @@ class TestSetupRequires(unittest.TestCase): ...@@ -386,7 +386,7 @@ class TestSetupRequires(unittest.TestCase):
'VersionConflict') 'VersionConflict')
lines = stdout.splitlines() lines = stdout.splitlines()
self.assertGreater(len(lines), 0) self.assertTrue(len(lines) > 0)
self.assert_(lines[-1].strip(), 'test_pkg') self.assert_(lines[-1].strip(), 'test_pkg')
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment