summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-27 21:52:13 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-27 21:52:13 -0400
commitbe4cea389de959e48b9b4ace7de03a9e8e544048 (patch)
tree2fadb01335db7fe8bf2d7c0281364469c1523fcf
parent161da888a27c149e0bab4c2e0229c80eb6fff557 (diff)
downloadpython-coveragepy-be4cea389de959e48b9b4ace7de03a9e8e544048.tar.gz
Fix a few more occurrences of 'Coverage' to 'coverage.py'
-rw-r--r--Makefile2
-rw-r--r--coverage/misc.py2
-rw-r--r--doc/api.rst6
-rw-r--r--doc/python-coverage.1.txt6
-rw-r--r--tests/coveragetest.py4
-rw-r--r--tests/test_api.py2
-rw-r--r--tests/test_arcs.py2
-rw-r--r--tests/test_parser.py4
-rw-r--r--tests/test_phystokens.py2
-rw-r--r--tests/test_process.py5
-rw-r--r--tests/test_results.py2
11 files changed, 18 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index c7e20d9..67fd6f0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
-# Makefile for utility work on Coverage.
+# Makefile for utility work on coverage.py.
default:
@echo "* No default action *"
diff --git a/coverage/misc.py b/coverage/misc.py
index c794b55..d11ebcc 100644
--- a/coverage/misc.py
+++ b/coverage/misc.py
@@ -178,7 +178,7 @@ def _needs_to_implement(that, func_name):
class CoverageException(Exception):
- """An exception specific to Coverage."""
+ """An exception specific to coverage.py."""
pass
diff --git a/doc/api.rst b/doc/api.rst
index 7001572..2904058 100644
--- a/doc/api.rst
+++ b/doc/api.rst
@@ -3,9 +3,9 @@
.. _api:
-============
-Coverage API
-============
+===============
+Coverage.py API
+===============
.. :history: 20090524T134300, brand new docs.
.. :history: 20090613T164000, final touches for 3.0
diff --git a/doc/python-coverage.1.txt b/doc/python-coverage.1.txt
index 9ee787c..9b29811 100644
--- a/doc/python-coverage.1.txt
+++ b/doc/python-coverage.1.txt
@@ -11,7 +11,7 @@ measure code coverage of Python program execution
:Date: 2014-09-27
:Copyright: Apache 2.0 license, attribution and disclaimer required.
:Manual section: 1
-:Manual group: Coverage
+:Manual group: Coverage.py
.. |command| replace:: **python-coverage**
@@ -66,7 +66,7 @@ GLOBAL OPTIONS
==============
**--help**, **-h**
- Describe how to use Coverage, in general or a command.
+ Describe how to use coverage.py, in general or a command.
**--rcfile** `RCFILE`
Specify configuration file `RCFILE`. Defaults to ``.coveragerc``.
@@ -105,7 +105,7 @@ COMMAND REFERENCE
**help** [ `command` ]
- Describe how to use Coverage.
+ Describe how to use coverage.py.
**help** **classic**
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index f06c624..9e0bb26 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -36,7 +36,7 @@ class CoverageTest(
TempDirMixin,
TestCase
):
- """A base class for Coverage test cases."""
+ """A base class for coverage.py test cases."""
# Standard unittest setting: show me diffs even if they are very long.
maxDiff = None
@@ -98,7 +98,7 @@ class CoverageTest(
# Import the Python file, executing it.
mod = self.import_local_file(modname)
finally: # pragma: nested
- # Stop Coverage.
+ # Stop coverage.py.
cov.stop()
return mod
diff --git a/tests/test_api.py b/tests/test_api.py
index dc472c0..25d104c 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -16,7 +16,7 @@ from tests.coveragetest import CoverageTest
class ApiTest(CoverageTest):
- """Api-oriented tests for Coverage."""
+ """Api-oriented tests for coverage.py."""
def clean_files(self, files, pats):
"""Remove names matching `pats` from `files`, a list of filenames."""
diff --git a/tests/test_arcs.py b/tests/test_arcs.py
index 624081d..df303d8 100644
--- a/tests/test_arcs.py
+++ b/tests/test_arcs.py
@@ -11,7 +11,7 @@ from coverage.files import abs_file
class SimpleArcTest(CoverageTest):
- """Tests for Coverage.py's arc measurement."""
+ """Tests for coverage.py's arc measurement."""
def test_simple_sequence(self):
self.check_coverage("""\
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 98aba04..18621d1 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -12,7 +12,7 @@ from coverage.parser import PythonParser
class PythonParserTest(CoverageTest):
- """Tests for Coverage.py's Python code parsing."""
+ """Tests for coverage.py's Python code parsing."""
run_in_temp_dir = False
@@ -118,7 +118,7 @@ class PythonParserTest(CoverageTest):
class ParserFileTest(CoverageTest):
- """Tests for Coverage.py's code parsing from files."""
+ """Tests for coverage.py's code parsing from files."""
def parse_file(self, filename):
"""Parse `text` as source, and return the `PythonParser` used."""
diff --git a/tests/test_phystokens.py b/tests/test_phystokens.py
index a8de298..b4a106f 100644
--- a/tests/test_phystokens.py
+++ b/tests/test_phystokens.py
@@ -30,7 +30,7 @@ HERE = os.path.dirname(__file__)
class PhysTokensTest(CoverageTest):
- """Tests for Coverage.py's improved tokenizer."""
+ """Tests for coverage.py's improved tokenizer."""
run_in_temp_dir = False
diff --git a/tests/test_process.py b/tests/test_process.py
index e4fa741..b57f402 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -401,7 +401,7 @@ class ProcessTest(CoverageTest):
def test_coverage_run_dashm_is_like_python_dashm_with__main__207(self):
if sys.version_info < (2, 7):
- # Coverage isn't bug-for-bug compatible in the behavior of -m for
+ # Coverage.py isn't bug-for-bug compatible in the behavior of -m for
# Pythons < 2.7
self.skip("-m doesn't work the same < Python 2.7")
# https://bitbucket.org/ned/coveragepy/issue/207
@@ -612,8 +612,7 @@ class ProcessTest(CoverageTest):
out = self.run_command("python run_twice.py")
self.assertEqual(
out,
- "Coverage.py warning: "
- "Module foo was previously imported, but not measured.\n"
+ "Coverage.py warning: Module foo was previously imported, but not measured.\n"
)
diff --git a/tests/test_results.py b/tests/test_results.py
index 0fa1ad5..54c2f6d 100644
--- a/tests/test_results.py
+++ b/tests/test_results.py
@@ -8,7 +8,7 @@ from tests.coveragetest import CoverageTest
class NumbersTest(CoverageTest):
- """Tests for Coverage.py's numeric measurement summaries."""
+ """Tests for coverage.py's numeric measurement summaries."""
run_in_temp_dir = False