diff options
author | Philip Thiem <ptthiem@gmail.com> | 2014-05-17 16:12:20 -0500 |
---|---|---|
committer | Philip Thiem <ptthiem@gmail.com> | 2014-05-17 16:12:20 -0500 |
commit | c1d08d7441c9fc059241232eb7323d2a90d12b6e (patch) | |
tree | b8d79159db137aab0542649a9e5ed2ff28e4d4ea | |
parent | d118aae6b768cfdf387aca862e150e7736c7cd71 (diff) | |
download | external_python_setuptools-c1d08d7441c9fc059241232eb7323d2a90d12b6e.tar.gz external_python_setuptools-c1d08d7441c9fc059241232eb7323d2a90d12b6e.tar.bz2 external_python_setuptools-c1d08d7441c9fc059241232eb7323d2a90d12b6e.zip |
PY26 doesn't have assertIn
--HG--
branch : develop
extra : rebase_source : a891af85b68115431db3fe42acf5a102e02aa8b9
-rw-r--r-- | setuptools/tests/test_egg_info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_egg_info.py b/setuptools/tests/test_egg_info.py index 4c41a2cc..7531e37c 100644 --- a/setuptools/tests/test_egg_info.py +++ b/setuptools/tests/test_egg_info.py @@ -155,7 +155,7 @@ class TestSvnDummy(environment.ZippedEnvironment): infile.close() del infile - self.assertIn("Version: 0.1.1-r1\n", read_contents) + self.assertTrue("Version: 0.1.1-r1\n" in read_contents) @skipIf(not test_svn._svn_check, "No SVN to text, in the first place") def test_no_tags(self): @@ -173,7 +173,7 @@ class TestSvnDummy(environment.ZippedEnvironment): infile.close() del infile - self.assertIn("Version: 0.1.1\n", read_contents) + self.assertTrue("Version: 0.1.1\n" in read_contents) class TestSvnDummyLegacy(environment.ZippedEnvironment): |