diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 12:03:06 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-09-07 12:03:06 (GMT) |
commit | 0be894b2f6ca17204922399d6982f0b8a9dc59a1 (patch) | |
tree | 74e27a76dc86b36370cc6afb9c160f7503cc7599 /Lib/unittest | |
parent | be8da9c9906571698fe218da9e218ece500d5239 (diff) | |
download | cpython-0be894b2f6ca17204922399d6982f0b8a9dc59a1.zip cpython-0be894b2f6ca17204922399d6982f0b8a9dc59a1.tar.gz cpython-0be894b2f6ca17204922399d6982f0b8a9dc59a1.tar.bz2 |
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 8f4017f..1996a8e 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 5390a4e..af1ce7e 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)) |