diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 12:03:06 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 12:03:06 +0000 |
commit | 917af8f1a80dc9933a6c7697d386c2bd27ccb54d (patch) | |
tree | f3b6250be31d5b4b7370d9a1dadf724031afe8ef /Lib/unittest | |
parent | 4f77f2dcd5804d6597029fb8b83d0166f1a09c97 (diff) | |
download | cpython-917af8f1a80dc9933a6c7697d386c2bd27ccb54d.tar.gz |
Issue #27895: Spelling fixes (Contributed by Ville Skytt?).
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/test/test_discovery.py | 2 | ||||
-rw-r--r-- | Lib/unittest/test/testmock/testcallable.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/unittest/test/test_discovery.py b/Lib/unittest/test/test_discovery.py index 8f4017f667..1996a8ee5d 100644 --- a/Lib/unittest/test/test_discovery.py +++ b/Lib/unittest/test/test_discovery.py @@ -349,7 +349,7 @@ class TestDiscovery(unittest.TestCase): suite = list(loader._find_tests(abspath('/foo'), 'test*.py')) # We should have loaded tests from both my_package and - # my_pacakge.test_module, and also run the load_tests hook in both. + # my_package.test_module, and also run the load_tests hook in both. # (normally this would be nested TestSuites.) self.assertEqual(suite, [['my_package load_tests', [], diff --git a/Lib/unittest/test/testmock/testcallable.py b/Lib/unittest/test/testmock/testcallable.py index 5390a4e10f..af1ce7ebba 100644 --- a/Lib/unittest/test/testmock/testcallable.py +++ b/Lib/unittest/test/testmock/testcallable.py @@ -27,7 +27,7 @@ class TestCallable(unittest.TestCase): self.assertIn(mock.__class__.__name__, repr(mock)) - def test_heirarchy(self): + def test_hierarchy(self): self.assertTrue(issubclass(MagicMock, Mock)) self.assertTrue(issubclass(NonCallableMagicMock, NonCallableMock)) |