Commit b2c25b76 authored by Jason R. Coombs's avatar Jason R. Coombs

Skip this test because it now fails under Python 3.3 and earlier apparently...

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.
parent 628b5278
...@@ -23,6 +23,7 @@ from pkg_resources import working_set, VersionConflict ...@@ -23,6 +23,7 @@ from pkg_resources import working_set, VersionConflict
from pkg_resources import Distribution as PRDistribution from pkg_resources import Distribution as PRDistribution
import setuptools.tests.server import setuptools.tests.server
import pkg_resources import pkg_resources
from .py26compat import skipIf
class FakeDist(object): class FakeDist(object):
def get_entry_map(self, group): def get_entry_map(self, group):
...@@ -225,6 +226,9 @@ class TestUserInstallTest(unittest.TestCase): ...@@ -225,6 +226,9 @@ class TestUserInstallTest(unittest.TestCase):
else: else:
del os.environ['PYTHONPATH'] 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): def test_setup_requires(self):
"""Regression test for Distribute issue #318 """Regression test for Distribute issue #318
......
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