Commit 8c893ea5 authored by Jason R. Coombs's avatar Jason R. Coombs

Merge fix for #21

parents 1f98cb28 54cea58c
...@@ -9,6 +9,12 @@ CHANGES ...@@ -9,6 +9,12 @@ CHANGES
* Code base now runs on Python 2.4 - Python 3.3 without Python 2to3 * Code base now runs on Python 2.4 - Python 3.3 without Python 2to3
conversion. conversion.
-----
0.7.5
-----
* Issue #21: Restore Python 2.4 compatibility in ``test_easy_install``.
----- -----
0.7.4 0.7.4
----- -----
......
...@@ -272,11 +272,12 @@ class TestUserInstallTest(unittest.TestCase): ...@@ -272,11 +272,12 @@ class TestUserInstallTest(unittest.TestCase):
sys.stdout = StringIO() sys.stdout = StringIO()
sys.stderr = StringIO() sys.stderr = StringIO()
try: try:
reset_setup_stop_context( try:
lambda: run_setup(test_setup_py, ['install']) reset_setup_stop_context(
) lambda: run_setup(test_setup_py, ['install'])
except SandboxViolation: )
self.fail('Installation caused SandboxViolation') except SandboxViolation:
self.fail('Installation caused SandboxViolation')
finally: finally:
sys.stdout = old_stdout sys.stdout = old_stdout
sys.stderr = old_stderr sys.stderr = old_stderr
......
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