From 97adbcc9073b2e4888f1a759bfc211b3a3e41588 Mon Sep 17 00:00:00 2001 From: Philip Thiem Date: Sat, 17 May 2014 16:12:20 -0500 Subject: PY26 doesn't have assertIn --- setuptools/tests/test_egg_info.py | 4 ++-- 1 file 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): -- cgit v1.2.1