mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Merge typo fixes from 3.5
This commit is contained in:
commit
1ce738e08f
18 changed files with 26 additions and 26 deletions
|
@ -3489,7 +3489,7 @@ order (MRO) for bases """
|
|||
b.a = a
|
||||
z = deepcopy(a) # This blew up before
|
||||
|
||||
def test_unintialized_modules(self):
|
||||
def test_uninitialized_modules(self):
|
||||
# Testing uninitialized module objects...
|
||||
from types import ModuleType as M
|
||||
m = M.__new__(M)
|
||||
|
|
|
@ -30,7 +30,7 @@ class ModuleTests(unittest.TestCase):
|
|||
pass
|
||||
self.assertEqual(foo.__doc__, ModuleType.__doc__)
|
||||
|
||||
def test_unintialized_missing_getattr(self):
|
||||
def test_uninitialized_missing_getattr(self):
|
||||
# Issue 8297
|
||||
# test the text in the AttributeError of an uninitialized module
|
||||
foo = ModuleType.__new__(ModuleType)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue