mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue #27626: Merge spelling fixes from 3.5
This commit is contained in:
commit
8bde911115
33 changed files with 48 additions and 48 deletions
|
|
@ -114,7 +114,7 @@ class TestChainMap(unittest.TestCase):
|
|||
self.assertEqual(f['b'], 5) # find first in chain
|
||||
self.assertEqual(f.parents['b'], 2) # look beyond maps[0]
|
||||
|
||||
def test_contructor(self):
|
||||
def test_constructor(self):
|
||||
self.assertEqual(ChainMap().maps, [{}]) # no-args --> one new dict
|
||||
self.assertEqual(ChainMap({1:2}).maps, [{1:2}]) # 1 arg --> list
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue