diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-12 20:39:04 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-12 20:39:04 -0400 |
commit | 6451321ebefa3e3976f78d4b10298a200b91aecc (patch) | |
tree | 8e74b527f3d8ee4b0fc9bd4eada8addfe4be11c3 /test/test_api.py | |
parent | 62df979155b10ef3f12624d196a87fc8e04a6ba4 (diff) | |
download | python-coveragepy-git-6451321ebefa3e3976f78d4b10298a200b91aecc.tar.gz |
cover_stdlib wasn't quite right, it controls covering the entire Python library, so cover_pylib it is.
Diffstat (limited to 'test/test_api.py')
-rw-r--r-- | test/test_api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_api.py b/test/test_api.py index 68f1dc95..f19099e1 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -159,7 +159,7 @@ class ApiTest(CoverageTest): # Measure without the stdlib. cov1 = coverage.coverage() - self.assertEqual(cov1.cover_stdlib, False) + self.assertEqual(cov1.cover_pylib, False) cov1.start() self.importModule("mymain") cov1.stop() @@ -172,7 +172,7 @@ class ApiTest(CoverageTest): self.assertEqual(statements, missing) # Measure with the stdlib. - cov2 = coverage.coverage(cover_stdlib=True) + cov2 = coverage.coverage(cover_pylib=True) cov2.start() self.importModule("mymain") cov2.stop() |