Skip to content

Commit c907b2e

Browse files
committed
ambigious -> ambiguous
1 parent 263f3e1 commit c907b2e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

tests/modules/usepkgs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
import pkg2.p2a, pkg2.p2b
66
import othermods.othera, othermods.otherb
77
import othermods.sub.osa, othermods.sub.osb
8-
import ambigious, ambigious.pkg1.ambigious
8+
import ambiguous, ambiguous.pkg1.ambiguous

tests/test_api.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -935,20 +935,20 @@ def test_source_package_as_package_part_omitted(self):
935935
self.filenames_not_in(lines, "p1b")
936936
self.assertEqual(lines['p1c'], 0)
937937

938-
def test_ambigious_source_package_as_dir(self):
939-
# pkg1 is a directory and a pkg, since we cd into tests/modules/ambigious
940-
self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambigious"))
941-
# pkg1 defaults to directory because tests/modules/ambigious/pkg1 exists
938+
def test_ambiguous_source_package_as_dir(self):
939+
# pkg1 is a directory and a pkg, since we cd into tests/modules/ambiguous
940+
self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambiguous"))
941+
# pkg1 defaults to directory because tests/modules/ambiguous/pkg1 exists
942942
lines = self.coverage_usepkgs(source=["pkg1"])
943-
self.filenames_in(lines, "ambigious")
943+
self.filenames_in(lines, "ambiguous")
944944
self.filenames_not_in(lines, "p1a p1b p1c")
945945

946-
def test_ambigious_source_package_as_package(self):
947-
# pkg1 is a directory and a pkg, since we cd into tests/modules/ambigious
948-
self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambigious"))
946+
def test_ambiguous_source_package_as_package(self):
947+
# pkg1 is a directory and a pkg, since we cd into tests/modules/ambiguous
948+
self.chdir(self.nice_file(TESTS_DIR, 'modules', "ambiguous"))
949949
lines = self.coverage_usepkgs(source_pkgs=["pkg1"])
950950
self.filenames_in(lines, "p1a p1b")
951-
self.filenames_not_in(lines, "p2a p2b othera otherb osa osb ambigious")
951+
self.filenames_not_in(lines, "p2a p2b othera otherb osa osb ambiguous")
952952
# Because source= was specified, we do search for unexecuted files.
953953
self.assertEqual(lines['p1c'], 0)
954954

0 commit comments

Comments
 (0)