From bb41f3729ac1953776f32f40b1bb63a579873883 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 12 May 2009 20:39:04 -0400 Subject: cover_stdlib wasn't quite right, it controls covering the entire Python library, so cover_pylib it is. --- test/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_api.py') 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() -- cgit v1.2.1