Issue #27895: Spelling fixes (Contributed by Ville Skyttä).

This commit is contained in:
Raymond Hettinger 2016-08-30 10:47:49 -07:00
parent 613debcf0a
commit 15f44ab043
72 changed files with 121 additions and 121 deletions

View file

@ -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', [],

View file

@ -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))