mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +00:00
[3.12] gh-126451: Revert backports of ABC registrations for contextvars.Context and multiprocessing proxies (#126735)
This commit is contained in:
parent
bc31c73f5a
commit
86efa2f1fa
7 changed files with 0 additions and 37 deletions
|
@ -17,7 +17,6 @@ import errno
|
|||
import functools
|
||||
import signal
|
||||
import array
|
||||
import collections.abc
|
||||
import socket
|
||||
import random
|
||||
import logging
|
||||
|
@ -2460,10 +2459,6 @@ class _TestContainers(BaseTestCase):
|
|||
a.append('hello')
|
||||
self.assertEqual(f[0][:], [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'hello'])
|
||||
|
||||
def test_list_isinstance(self):
|
||||
a = self.list()
|
||||
self.assertIsInstance(a, collections.abc.MutableSequence)
|
||||
|
||||
def test_list_iter(self):
|
||||
a = self.list(list(range(10)))
|
||||
it = iter(a)
|
||||
|
@ -2504,10 +2499,6 @@ class _TestContainers(BaseTestCase):
|
|||
self.assertEqual(sorted(d.values()), [chr(i) for i in indices])
|
||||
self.assertEqual(sorted(d.items()), [(i, chr(i)) for i in indices])
|
||||
|
||||
def test_dict_isinstance(self):
|
||||
a = self.dict()
|
||||
self.assertIsInstance(a, collections.abc.MutableMapping)
|
||||
|
||||
def test_dict_iter(self):
|
||||
d = self.dict()
|
||||
indices = list(range(65, 70))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue