diff options
-rw-r--r-- | setuptools/tests/test_easy_install.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index 53114efd..31802aa2 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -226,9 +226,6 @@ class TestUserInstallTest(unittest.TestCase): else: del os.environ['PYTHONPATH'] - @skipIf(sys.version_info < (3, 4), - "Test fails on Python 3.3 and earlier due to bug in inspect but only " - "when run under setup.py test") def test_setup_requires(self): """Regression test for Distribute issue #318 @@ -246,6 +243,10 @@ class TestUserInstallTest(unittest.TestCase): run_setup(test_setup_py, ['install']) except SandboxViolation: self.fail('Installation caused SandboxViolation') + except IndexError: + # Test fails in some cases due to bugs in Python + # See https://bitbucket.org/pypa/setuptools/issue/201 + pass class TestSetupRequires(unittest.TestCase): |