From 48f996ff8dcccfefe0922fafc070b36f980c231e Mon Sep 17 00:00:00 2001 From: Min ho Kim Date: Mon, 8 Jul 2019 00:55:15 +1000 Subject: Fix typo --- coverage/control.py | 2 +- coverage/data.py | 2 +- coverage/sqldata.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'coverage') diff --git a/coverage/control.py b/coverage/control.py index a4e21295..823169d1 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 03a352ba..cc871950 100644 --- a/coverage/sqldata.py +++ b/coverage/sqldata.py @@ -331,7 +331,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() @@ -680,7 +680,7 @@ class Sqlite(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 indempotent - # nature of the tracer operations, sharing a conenction among threads + # nature of the tracer operations, sharing a connection among threads # is not a problem. self.con = sqlite3.connect(filename, check_same_thread=False) -- cgit v1.2.1