aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-03-19 11:02:06 -0700
committerJason R. Coombs <jaraco@jaraco.com>2013-03-19 11:02:06 -0700
commit0281ae614b34e729dd3f67b938bee9ce90c12b45 (patch)
treea9e13d082c9b17d45fbf5f4034926053213ed004
parent5dd873205fbd31f653b5a2bca68477306c7c64fb (diff)
downloadexternal_python_setuptools-0281ae614b34e729dd3f67b938bee9ce90c12b45.tar.gz
external_python_setuptools-0281ae614b34e729dd3f67b938bee9ce90c12b45.tar.bz2
external_python_setuptools-0281ae614b34e729dd3f67b938bee9ce90c12b45.zip
Updated references in tests to refer to setuptools in favor of distribute
--HG-- branch : Setuptools-Distribute merge extra : rebase_source : 1ffe834b5ecad0e5fd0ae44cb63e6541d9006004
-rw-r--r--setuptools/tests/test_easy_install.py12
-rw-r--r--setuptools/tests/test_packageindex.py2
2 files changed, 7 insertions, 7 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 582219ce..4a65a8d2 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -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.
diff --git a/setuptools/tests/test_packageindex.py b/setuptools/tests/test_packageindex.py
index 3e446b54..9c4bfadb 100644
--- a/setuptools/tests/test_packageindex.py
+++ b/setuptools/tests/test_packageindex.py
@@ -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