summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-11-28 05:45:33 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-11-28 06:01:22 -0500
commitaa62abd5ff33926f44fe4ec9e985ed3d72ea1f9d (patch)
tree301823a5d57e89561e0761d48cd2cf68a6d501c7 /tests/test_api.py
parent79c66c00cfc98f04b676e8fb32dc5f089a5eff3c (diff)
downloadpython-coveragepy-git-aa62abd5ff33926f44fe4ec9e985ed3d72ea1f9d.tar.gz
style: fix spelling
un-executed, white space, time stamp.
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index c2dbefa8..84457d88 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -817,7 +817,7 @@ class IncludeOmitTestsMixin(UsingModulesMixin, CoverageTest):
self.filenames_in(result, "p1a p1b p2a p2b othera otherb osa osb")
self.filenames_not_in(result, "p1c")
# Because there was no source= specified, we don't search for
- # unexecuted files.
+ # un-executed files.
def test_include(self):
result = self.coverage_usepkgs(include=["*/p1a.py"])
@@ -902,7 +902,7 @@ class SourceIncludeOmitTest(IncludeOmitTestsMixin, CoverageTest):
lines = self.coverage_usepkgs(source=["pkg1"])
self.filenames_in(lines, "p1a p1b")
self.filenames_not_in(lines, "p2a p2b othera otherb osa osb")
- # Because source= was specified, we do search for unexecuted files.
+ # Because source= was specified, we do search for un-executed files.
assert lines['p1c'] == 0
def test_source_package_as_dir(self):
@@ -911,13 +911,13 @@ class SourceIncludeOmitTest(IncludeOmitTestsMixin, CoverageTest):
lines = self.coverage_usepkgs(source=["pkg1"])
self.filenames_in(lines, "p1a p1b")
self.filenames_not_in(lines, "p2a p2b othera otherb osa osb")
- # Because source= was specified, we do search for unexecuted files.
+ # Because source= was specified, we do search for un-executed files.
assert lines['p1c'] == 0
def test_source_package_dotted_sub(self):
lines = self.coverage_usepkgs(source=["pkg1.sub"])
self.filenames_not_in(lines, "p2a p2b othera otherb osa osb")
- # Because source= was specified, we do search for unexecuted files.
+ # Because source= was specified, we do search for un-executed files.
assert lines['runmod3'] == 0
def test_source_package_dotted_p1b(self):
@@ -929,7 +929,7 @@ class SourceIncludeOmitTest(IncludeOmitTestsMixin, CoverageTest):
# https://github.com/nedbat/coveragepy/issues/218
# Used to be if you omitted something executed and inside the source,
# then after it was executed but not recorded, it would be found in
- # the search for unexecuted files, and given a score of 0%.
+ # the search for un-executed files, and given a score of 0%.
# The omit arg is by path, so need to be in the modules directory.
os.chdir("tests_dir_modules")
@@ -959,7 +959,7 @@ class SourceIncludeOmitTest(IncludeOmitTestsMixin, CoverageTest):
lines = self.coverage_usepkgs(source_pkgs=["pkg1"])
self.filenames_in(lines, "p1a p1b")
self.filenames_not_in(lines, "p2a p2b othera otherb osa osb ambiguous")
- # Because source= was specified, we do search for unexecuted files.
+ # Because source= was specified, we do search for un-executed files.
assert lines['p1c'] == 0