mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Fix Several Typos in Readme & Tests (#121559)
This commit is contained in:
parent
72dccd6073
commit
dc9cc91f76
2 changed files with 4 additions and 4 deletions
|
@ -1278,7 +1278,7 @@ class TestBasicOps(unittest.TestCase):
|
|||
t3 = tnew(t1)
|
||||
self.assertTrue(list(t1) == list(t2) == list(t3) == list('abc'))
|
||||
|
||||
# test that tee objects are weak referencable
|
||||
# test that tee objects are weak referenceable
|
||||
a, b = tee(range(10))
|
||||
p = weakref.proxy(a)
|
||||
self.assertEqual(getattr(p, '__class__'), type(b))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue