summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-07-07 13:48:17 -0400
committerGitHub <noreply@github.com>2019-07-07 13:48:17 -0400
commitd55714a22e15226cf0ecdf5276b11125d88aec4d (patch)
treec08f34073cc3c768a366f1887e89f20778fd7428
parentdade9db58673d4f712ba5c50ed66d1c67a7e1d5d (diff)
parenta9c49fbbd4fe7429936a8cc2cb50ec834c9aeb8b (diff)
downloadpython-coveragepy-git-d55714a22e15226cf0ecdf5276b11125d88aec4d.tar.gz
Merge pull request #820 from minho42/Fix-typo
Fix typo
-rw-r--r--coverage/control.py2
-rw-r--r--coverage/data.py2
-rw-r--r--coverage/sqldata.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 1001a8d6..250bc137 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -131,7 +131,7 @@ class Coverage(object):
This can also be a list of these strings.
If `check_preimported` is true, then when coverage is started, the
- aleady-imported files will be checked to see if they should be measured
+ already-imported files will be checked to see if they should be measured
by coverage. Importing measured files before coverage is started can
mean that code is missed.
diff --git a/coverage/data.py b/coverage/data.py
index 3d3647bb..bcb418b8 100644
--- a/coverage/data.py
+++ b/coverage/data.py
@@ -442,7 +442,7 @@ class CoverageJsonData(object):
def touch_file(self, filename, plugin_name=""):
"""Ensure that `filename` appears in the data, empty if needed.
- `plugin_name` is the name of the plugin resposible for this file. It is used
+ `plugin_name` is the name of the plugin responsible for this file. It is used
to associate the right filereporter, etc.
"""
if self._debug.should('dataop'):
diff --git a/coverage/sqldata.py b/coverage/sqldata.py
index 9d44db11..a182d829 100644
--- a/coverage/sqldata.py
+++ b/coverage/sqldata.py
@@ -341,7 +341,7 @@ class CoverageSqliteData(SimpleReprMixin):
def touch_file(self, filename, plugin_name=""):
"""Ensure that `filename` appears in the data, empty if needed.
- `plugin_name` is the name of the plugin resposible for this file. It is used
+ `plugin_name` is the name of the plugin responsible for this file. It is used
to associate the right filereporter, etc.
"""
self._start_using()
@@ -694,7 +694,7 @@ class SqliteDb(SimpleReprMixin):
# It can happen that Python switches threads while the tracer writes
# data. The second thread will also try to write to the data,
# effectively causing a nested context. However, given the idempotent
- # nature of the tracer operations, sharing a conenction among threads
+ # nature of the tracer operations, sharing a connection among threads
# is not a problem.
if self.debug:
self.debug.write("Connecting to {!r}".format(self.filename))