summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_genericalias.py
diff options
context:
space:
mode:
authorBatuhan Taskaya <batuhanosmantaskaya@gmail.com>2020-05-12 02:32:40 (GMT)
committerGitHub <noreply@github.com>2020-05-12 02:32:40 (GMT)
commitf3a5b7ada0c951f317dbd307de4b410e58d3e1b3 (patch)
tree0cf526c476131c14ca3e31048896d8f0ea486213 /Lib/test/test_genericalias.py
parentb1b4c790e7d3b5f4244450aefe3d8f01710c13f7 (diff)
downloadcpython-f3a5b7ada0c951f317dbd307de4b410e58d3e1b3.zip
cpython-f3a5b7ada0c951f317dbd307de4b410e58d3e1b3.tar.gz
cpython-f3a5b7ada0c951f317dbd307de4b410e58d3e1b3.tar.bz2
bpo-39481: remove generic classes from ipaddress/mmap (GH-20045)
These were added by mistake (see https://bugs.python.org/issue39481#msg366288).
Diffstat (limited to 'Lib/test/test_genericalias.py')
-rw-r--r--Lib/test/test_genericalias.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_genericalias.py b/Lib/test/test_genericalias.py
index 024b2f6..4f3798e 100644
--- a/Lib/test/test_genericalias.py
+++ b/Lib/test/test_genericalias.py
@@ -17,8 +17,6 @@ from ctypes import Array, LibraryLoader
from difflib import SequenceMatcher
from filecmp import dircmp
from fileinput import FileInput
-from mmap import mmap
-from ipaddress import IPv4Network, IPv4Interface, IPv6Network, IPv6Interface
from itertools import chain
from http.cookies import Morsel
from multiprocessing.managers import ValueProxy
@@ -49,7 +47,6 @@ class BaseTest(unittest.TestCase):
def test_subscriptable(self):
for t in (type, tuple, list, dict, set, frozenset, enumerate,
- mmap,
defaultdict, deque,
SequenceMatcher,
dircmp,
@@ -74,7 +71,6 @@ class BaseTest(unittest.TestCase):
Sequence, MutableSequence,
MappingProxyType, AsyncGeneratorType,
DirEntry,
- IPv4Network, IPv4Interface, IPv6Network, IPv6Interface,
chain,
TemporaryDirectory, SpooledTemporaryFile,
Queue, SimpleQueue,