From 4ca208dc289961310eb1e548bc042d42f8140751 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 11 Nov 2012 14:26:44 -0500 Subject: More converstion to assertIn and assertNotIn. --- test/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_api.py') diff --git a/test/test_api.py b/test/test_api.py index bbea8e6..4042d0a 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -84,7 +84,7 @@ class SingletonApiTest(CoverageTest): self.do_report_work("mycode4") coverage.report() rpt = re.sub(r"\s+", " ", self.stdout()) - self.assertTrue("mycode4 7 3 57% 4-6" in rpt) + self.assertIn("mycode4 7 3 57% 4-6", rpt) class ApiTest(CoverageTest): -- cgit v1.2.1