summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-03-19 11:11:34 -0700
committerJason R. Coombs <jaraco@jaraco.com>2013-03-19 11:11:34 -0700
commit058b0d7a590cbab2fff4228fa695c936c4c1b440 (patch)
tree4eed51732a5179ef97ef068aebc2633dd29aa279
parentd53ffbf93b029c499ddc195412bdffa9e966f89e (diff)
downloadpython-setuptools-bitbucket-058b0d7a590cbab2fff4228fa695c936c4c1b440.tar.gz
Updated a couple more references from Distribute to Setuptools
-rw-r--r--setuptools/tests/test_resources.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_resources.py b/setuptools/tests/test_resources.py
index f10fc999..9c2ed9c9 100644
--- a/setuptools/tests/test_resources.py
+++ b/setuptools/tests/test_resources.py
@@ -559,7 +559,7 @@ class NamespaceTests(TestCase):
def setUp(self):
self._ns_pkgs = pkg_resources._namespace_packages.copy()
- self._tmpdir = tempfile.mkdtemp(prefix="tests-distribute-")
+ self._tmpdir = tempfile.mkdtemp(prefix="tests-setuptools-")
os.makedirs(os.path.join(self._tmpdir, "site-pkgs"))
self._prev_sys_path = sys.path[:]
sys.path.append(os.path.join(self._tmpdir, "site-pkgs"))
@@ -603,7 +603,7 @@ class NamespaceTests(TestCase):
try:
import pkg1.pkg2
except ImportError, e:
- self.fail("Distribute tried to import the parent namespace package")
+ self.fail("Setuptools tried to import the parent namespace package")
# check the _namespace_packages dict
self._assertIn("pkg1.pkg2", pkg_resources._namespace_packages.keys())
self.assertEqual(pkg_resources._namespace_packages["pkg1"], ["pkg1.pkg2"])