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 | e273052668abb6f5e6a159ddad040d5f97e3a91a (patch) | |
tree | 1d55bc005412454180b0d6cf684c4e405f380ab9 /test/test_api.py | |
parent | a25936dec17094948602b6809c5f7858d3542c53 (diff) | |
download | python-coveragepy-git-e273052668abb6f5e6a159ddad040d5f97e3a91a.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 bbea8e62..4042d0a9 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): |