diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-04 20:13:25 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-05-04 20:13:25 -0400 |
commit | fa9dfd8465ea881d530614afb5c1a4231948b46b (patch) | |
tree | 83453ae714acb4855c9ab8469b814781f68545b3 /test/test_api.py | |
parent | 70c4da0edcaef942f99398aa6271215fc4a6df3e (diff) | |
download | python-coveragepy-fa9dfd8465ea881d530614afb5c1a4231948b46b.tar.gz |
Pass values into coverage's contructor rather than set properties.
Diffstat (limited to 'test/test_api.py')
-rw-r--r-- | test/test_api.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_api.py b/test/test_api.py index 7e363fd..47dc3d0 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -163,8 +163,7 @@ class ApiTest(CoverageTest): self.assertEqual(statements, missing) # Measure with the stdlib. - cov2 = coverage.coverage() - cov2.cover_stdlib = True + cov2 = coverage.coverage(cover_stdlib=True) cov2.start() self.importModule("mymain") cov2.stop() |