diff options
author | Lennart Regebro <regebro@gmail.com> | 2012-08-22 16:41:06 +0200 |
---|---|---|
committer | Lennart Regebro <regebro@gmail.com> | 2012-08-22 16:41:06 +0200 |
commit | e743dabde0d60aaeca5c9e4dc5c29ac3ac625646 (patch) | |
tree | 762c1a2b019343b1ff29be16441ae3560d9eba50 /setuptools/tests/test_dist_info.py | |
parent | ec0ed85656b96812402439fa23c877fd27b99de5 (diff) | |
download | external_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_dist_info.py')
-rw-r--r-- | setuptools/tests/test_dist_info.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/tests/test_dist_info.py b/setuptools/tests/test_dist_info.py index 68ba9e24..001c4433 100644 --- a/setuptools/tests/test_dist_info.py +++ b/setuptools/tests/test_dist_info.py @@ -41,9 +41,9 @@ class TestDistInfo(unittest.TestCase): pkg_resources.Requirement.parse('quux>=1.1')] for d in pkg_resources.find_distributions(self.tmpdir): - self.assertEquals(d.requires(), requires[:1]) - self.assertEquals(d.requires(extras=('baz',)), requires) - self.assertEquals(d.extras, ['baz']) + self.assertEqual(d.requires(), requires[:1]) + self.assertEqual(d.requires(extras=('baz',)), requires) + self.assertEqual(d.extras, ['baz']) def setUp(self): self.tmpdir = tempfile.mkdtemp() |