diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-27 20:56:57 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-27 20:56:57 -0400 |
commit | ba704d02a40b8f8067c2624a8c7add9618f2e41d (patch) | |
tree | 9b6902b1d4007d8dfca22013f0d1fcfe6e08585d /tests/coveragetest.py | |
parent | 7470fe559f2c1fa0c6c87365f115f27c6a4d6ff7 (diff) | |
download | python-coveragepy-git-ba704d02a40b8f8067c2624a8c7add9618f2e41d.tar.gz |
Use the new class name
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r-- | tests/coveragetest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index 5a1de913..f06c6244 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -175,7 +175,7 @@ class CoverageTest( """ # We write the code into a file so that we can import it. - # Coverage wants to deal with things as modules with file names. + # Coverage.py wants to deal with things as modules with file names. modname = self.get_module_name() self.make_file(modname+".py", text) @@ -187,8 +187,8 @@ class CoverageTest( if arcs_unpredicted is None and arcz_unpredicted is not None: arcs_unpredicted = self.arcz_to_arcs(arcz_unpredicted) - # Start up Coverage. - cov = coverage.coverage(branch=(arcs_missing is not None)) + # Start up coverage.py. + cov = coverage.Coverage(branch=(arcs_missing is not None)) cov.erase() for exc in excludes or []: cov.exclude(exc) |