Commit 9419ec68 authored by Jason R. Coombs's avatar Jason R. Coombs

Add test capturing failure. Ref #319.

parent 000d9ed1
......@@ -275,6 +275,23 @@ class TestUserInstallTest(unittest.TestCase):
pass
@pytest.yield_fixture
def distutils_package():
distutils_setup_py = SETUP_PY.replace(
'from setuptools import setup',
'from distutils.core import setup',
)
with tempdir_context(cd=os.chdir):
with open('setup.py', 'w') as f:
f.write(distutils_setup_py)
yield
class TestDistutilsPackage:
def test_bdist_egg_available_on_distutils_pkg(self, distutils_package):
run_setup('setup.py', ['bdist_egg'])
class TestSetupRequires(unittest.TestCase):
def test_setup_requires_honors_fetch_params(self):
......
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