Commit 0281ae61 authored by Jason R. Coombs's avatar Jason R. Coombs

Updated references in tests to refer to setuptools in favor of distribute

--HG--
branch : Setuptools-Distribute merge
extra : rebase_source : 1ffe834b5ecad0e5fd0ae44cb63e6541d9006004
parent 5dd87320
......@@ -266,10 +266,10 @@ class TestUserInstallTest(unittest.TestCase):
del os.environ['PYTHONPATH']
def test_setup_requires(self):
"""Regression test for issue #318
"""Regression test for Distribute issue #318
Ensures that a package with setup_requires can be installed when
distribute is installed in the user site-packages without causing a
Ensure that a package with setup_requires can be installed when
setuptools is installed in the user site-packages without causing a
SandboxViolation.
"""
......@@ -373,13 +373,13 @@ class TestSetupRequires(unittest.TestCase):
doesn't exist) and invoke installer on it.
"""
def build_sdist(dir):
dist_path = os.path.join(dir, 'distribute-test-fetcher-1.0.tar.gz')
dist_path = os.path.join(dir, 'setuptools-test-fetcher-1.0.tar.gz')
make_trivial_sdist(
dist_path,
textwrap.dedent("""
import setuptools
setuptools.setup(
name="distribute-test-fetcher",
name="setuptools-test-fetcher",
version="1.0",
setup_requires = ['does-not-exist'],
)
......@@ -447,7 +447,7 @@ def argv_context(f, repl):
def reset_setup_stop_context(f):
"""
When the distribute tests are run using setup.py test, and then
When the setuptools tests are run using setup.py test, and then
one wants to invoke another setup() command (such as easy_install)
within those tests, it's necessary to reset the global variable
in distutils.core so that the setup() command will run naturally.
......
......@@ -110,7 +110,7 @@ class TestPackageIndex(unittest.TestCase):
- someone reuploads the package (with a different md5)
- while easy_installing, an MD5 error occurs because the external link
is used
-> Distribute should use the link from pypi, not the external one.
-> Setuptools should use the link from pypi, not the external one.
"""
if sys.platform.startswith('java'):
# Skip this test on jython because binding to :0 fails
......
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