aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-03-30 18:26:28 +0100
committerJason R. Coombs <jaraco@jaraco.com>2014-03-30 18:26:28 +0100
commitb2c25b76747deecc9d7b8fea04f7c2de2787aa14 (patch)
tree21ea51ecbe92c3aab16edbdf26e0732aa601485d /setuptools/tests/test_easy_install.py
parent628b5278a174d94907a25d065403feed1d2cd1d8 (diff)
downloadexternal_python_setuptools-b2c25b76747deecc9d7b8fea04f7c2de2787aa14.tar.gz
external_python_setuptools-b2c25b76747deecc9d7b8fea04f7c2de2787aa14.tar.bz2
external_python_setuptools-b2c25b76747deecc9d7b8fea04f7c2de2787aa14.zip
Skip this test because it now fails under Python 3.3 and earlier apparently due to a bug in the inspect module. Since the test passes under Python 3.4 and later, that should still serve as a suitable regression test.
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 70e2ad99..53114efd 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -23,6 +23,7 @@ from pkg_resources import working_set, VersionConflict
from pkg_resources import Distribution as PRDistribution
import setuptools.tests.server
import pkg_resources
+from .py26compat import skipIf
class FakeDist(object):
def get_entry_map(self, group):
@@ -225,6 +226,9 @@ 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