diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-09-12 19:53:31 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-09-12 19:53:31 -0400 |
commit | c907b2ee1184dbcea1a3698588ad198a32fbea71 (patch) | |
tree | 466be547016f5efe52aa8bdf651d26a438a8e142 | |
parent | 263f3e1da8e5a6a32056a8697286f9adf0f6a55d (diff) | |
download | python-coveragepy-git-c907b2ee1184dbcea1a3698588ad198a32fbea71.tar.gz |
ambigious -> ambiguous
-rw-r--r-- | tests/modules/ambiguous/__init__.py (renamed from tests/modules/ambigious/__init__.py) | 0 | ||||
-rw-r--r-- | tests/modules/ambiguous/pkg1/__init__.py (renamed from tests/modules/ambigious/pkg1/__init__.py) | 0 | ||||
-rw-r--r-- | tests/modules/ambiguous/pkg1/ambiguous.py (renamed from tests/modules/ambigious/pkg1/ambigious.py) | 0 | ||||
-rw-r--r-- | tests/modules/usepkgs.py | 2 | ||||
-rw-r--r-- | tests/test_api.py | 18 |
5 files changed, 10 insertions, 10 deletions
diff --git a/tests/modules/ambigious/__init__.py b/tests/modules/ambiguous/__init__.py index e69de29b..e69de29b 100644 --- a/tests/modules/ambigious/__init__.py +++ b/tests/modules/ambiguous/__init__.py diff --git a/tests/modules/ambigious/pkg1/__init__.py b/tests/modules/ambiguous/pkg1/__init__.py index 59742bbb..59742bbb 100644 --- a/tests/modules/ambigious/pkg1/__init__.py +++ b/tests/modules/ambiguous/pkg1/__init__.py diff --git a/tests/modules/ambigious/pkg1/ambigious.py b/tests/modules/ambiguous/pkg1/ambiguous.py index 6048d6da..6048d6da 100644 --- a/tests/modules/ambigious/pkg1/ambigious.py +++ b/tests/modules/ambiguous/pkg1/ambiguous.py diff --git a/tests/modules/usepkgs.py b/tests/modules/usepkgs.py index 2e4d21a7..7b42976d 100644 --- a/tests/modules/usepkgs.py +++ b/tests/modules/usepkgs.py @@ -5,4 +5,4 @@ import pkg1.p1a, pkg1.p1b, pkg1.sub import pkg2.p2a, pkg2.p2b import othermods.othera, othermods.otherb import othermods.sub.osa, othermods.sub.osb -import ambigious, ambigious.pkg1.ambigious +import ambiguous, ambiguous.pkg1.ambiguous diff --git a/tests/test_api.py b/tests/test_api.py index a28d0133..e2a2a555 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -935,20 +935,20 @@ class SourceIncludeOmitTest(IncludeOmitTestsMixin, CoverageTest): self.filenames_not_in(lines, "p1b") self.assertEqual(lines['p1c'], 0) - def test_ambigious_source_package_as_dir(self): - # pkg1 is a directory and a pkg, since we cd into tests/modules/ambigious - self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambigious")) - # pkg1 defaults to directory because tests/modules/ambigious/pkg1 exists + def test_ambiguous_source_package_as_dir(self): + # pkg1 is a directory and a pkg, since we cd into tests/modules/ambiguous + self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambiguous")) + # pkg1 defaults to directory because tests/modules/ambiguous/pkg1 exists lines = self.coverage_usepkgs(source=["pkg1"]) - self.filenames_in(lines, "ambigious") + self.filenames_in(lines, "ambiguous") self.filenames_not_in(lines, "p1a p1b p1c") - def test_ambigious_source_package_as_package(self): - # pkg1 is a directory and a pkg, since we cd into tests/modules/ambigious - self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambigious")) + def test_ambiguous_source_package_as_package(self): + # pkg1 is a directory and a pkg, since we cd into tests/modules/ambiguous + self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambiguous")) lines = self.coverage_usepkgs(source_pkgs=["pkg1"]) self.filenames_in(lines, "p1a p1b") - self.filenames_not_in(lines, "p2a p2b othera otherb osa osb ambigious") + self.filenames_not_in(lines, "p2a p2b othera otherb osa osb ambiguous") # Because source= was specified, we do search for unexecuted files. self.assertEqual(lines['p1c'], 0) |