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 | bb41f3729ac1953776f32f40b1bb63a579873883 (patch) | |
tree | 27fd7af7881c6f040fcac4aa8303ee824bec76e0 /test | |
parent | d06ecbbad420f87b7169206db939267c987c0691 (diff) | |
download | python-coveragepy-bb41f3729ac1953776f32f40b1bb63a579873883.tar.gz |
cover_stdlib wasn't quite right, it controls covering the entire Python library, so cover_pylib it is.
Diffstat (limited to 'test')
-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 68f1dc9..f19099e 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() |