aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_develop.py
diff options
context:
space:
mode:
authorLennart Regebro <regebro@gmail.com>2012-08-22 16:41:06 +0200
committerLennart Regebro <regebro@gmail.com>2012-08-22 16:41:06 +0200
commite743dabde0d60aaeca5c9e4dc5c29ac3ac625646 (patch)
tree762c1a2b019343b1ff29be16441ae3560d9eba50 /setuptools/tests/test_develop.py
parentec0ed85656b96812402439fa23c877fd27b99de5 (diff)
downloadexternal_python_setuptools-e743dabde0d60aaeca5c9e4dc5c29ac3ac625646.tar.gz
external_python_setuptools-e743dabde0d60aaeca5c9e4dc5c29ac3ac625646.tar.bz2
external_python_setuptools-e743dabde0d60aaeca5c9e4dc5c29ac3ac625646.zip
Got rid of deprecated assert_ and assertEquals.
--HG-- branch : distribute extra : rebase_source : 9d7032bac7db98e445ab6a46b2610c278c691c2d
Diffstat (limited to 'setuptools/tests/test_develop.py')
-rw-r--r--setuptools/tests/test_develop.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py
index fcf33c58..3e071dad 100644
--- a/setuptools/tests/test_develop.py
+++ b/setuptools/tests/test_develop.py
@@ -86,15 +86,15 @@ class TestDevelopTest(unittest.TestCase):
# let's see if we got our egg link at the right place
content = os.listdir(site.USER_SITE)
content.sort()
- self.assertEquals(content, ['easy-install.pth', 'foo.egg-link'])
+ self.assertEqual(content, ['easy-install.pth', 'foo.egg-link'])
# Check that we are using the right code.
path = open(os.path.join(site.USER_SITE, 'foo.egg-link'), 'rt').read().split()[0].strip()
init = open(os.path.join(path, 'foo', '__init__.py'), 'rt').read().strip()
if sys.version < "3":
- self.assertEquals(init, 'print "foo"')
+ self.assertEqual(init, 'print "foo"')
else:
- self.assertEquals(init, 'print("foo")')
+ self.assertEqual(init, 'print("foo")')
def notest_develop_with_setup_requires(self):