diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-02 10:07:09 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-02 10:07:09 (GMT) |
commit | e26da7c03a714faa115fe6b708ef0730119aa4b3 (patch) | |
tree | 26d6a9584ddde0d84f1011fe87662b3b84a39428 /Lib/test/test_pep3151.py | |
parent | 1b207c55a446ab8b8bae2efc8407ee130ba62012 (diff) | |
download | cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.zip cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.tar.gz cpython-e26da7c03a714faa115fe6b708ef0730119aa4b3.tar.bz2 |
Issue #27171: Fix typos in documentation, comments, and test function names
Diffstat (limited to 'Lib/test/test_pep3151.py')
-rw-r--r-- | Lib/test/test_pep3151.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_pep3151.py b/Lib/test/test_pep3151.py index 8d560cd..7b0d465 100644 --- a/Lib/test/test_pep3151.py +++ b/Lib/test/test_pep3151.py @@ -164,7 +164,7 @@ class ExplicitSubclassingTest(unittest.TestCase): e = SubOSError(EEXIST, "Bad file descriptor") self.assertIs(type(e), SubOSError) - def test_init_overriden(self): + def test_init_overridden(self): e = SubOSErrorWithInit("some message", "baz") self.assertEqual(e.bar, "baz") self.assertEqual(e.args, ("some message",)) @@ -174,7 +174,7 @@ class ExplicitSubclassingTest(unittest.TestCase): self.assertEqual(e.bar, "baz") self.assertEqual(e.args, ("some message",)) - def test_new_overriden(self): + def test_new_overridden(self): e = SubOSErrorWithNew("some message", "baz") self.assertEqual(e.baz, "baz") self.assertEqual(e.args, ("some message",)) @@ -184,7 +184,7 @@ class ExplicitSubclassingTest(unittest.TestCase): self.assertEqual(e.baz, "baz") self.assertEqual(e.args, ("some message",)) - def test_init_new_overriden(self): + def test_init_new_overridden(self): e = SubOSErrorCombinedInitFirst("some message", "baz") self.assertEqual(e.bar, "baz") self.assertEqual(e.baz, "baz") |