[3.12] gh-126451: Revert backports of ABC registrations for contextvars.Context and multiprocessing proxies (#126735)

This commit is contained in:
Alex Waygood 2024-11-12 12:26:23 +00:00 committed by GitHub
parent bc31c73f5a
commit 86efa2f1fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 0 additions and 37 deletions

View file

@ -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))