diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-11 14:26:44 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-11 14:26:44 -0500 |
commit | 4ca208dc289961310eb1e548bc042d42f8140751 (patch) | |
tree | cb1bdcca8c0d99eea6f1e5be85faf8f150091c65 /test/test_api.py | |
parent | c36e02495899e1287ea357b6a0130ebde7d2ba1c (diff) | |
download | python-coveragepy-4ca208dc289961310eb1e548bc042d42f8140751.tar.gz |
More converstion to assertIn and assertNotIn.
Diffstat (limited to 'test/test_api.py')
-rw-r--r-- | test/test_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |