aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_genericalias.py
diff options
context:
space:
mode:
authorBatuhan Taşkaya <batuhanosmantaskaya@gmail.com>2020-04-10 07:04:54 +0300
committerGitHub <noreply@github.com>2020-04-09 21:04:54 -0700
commit2fa67df605e4b0803e7e3aac0b85d851b4b4e09a (patch)
treecb4c56afdb10fff493317da2de2b5fd2286de799 /Lib/test/test_genericalias.py
parenta8403d057d41a022d819fd8d6fbe2a666f72b6f5 (diff)
downloadcpython-2fa67df605e4b0803e7e3aac0b85d851b4b4e09a.tar.gz
cpython-2fa67df605e4b0803e7e3aac0b85d851b4b4e09a.zip
bpo-39481: PEP 585 for ipaddress.py (GH-19418)
Diffstat (limited to 'Lib/test/test_genericalias.py')
-rw-r--r--Lib/test/test_genericalias.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_genericalias.py b/Lib/test/test_genericalias.py
index d8acdee2da3..535c2492574 100644
--- a/Lib/test/test_genericalias.py
+++ b/Lib/test/test_genericalias.py
@@ -7,6 +7,7 @@ from collections import (
)
from collections.abc import *
from contextlib import AbstractContextManager, AbstractAsyncContextManager
+from ipaddress import IPv4Network, IPv4Interface, IPv6Network, IPv6Interface
from itertools import chain
from os import DirEntry
from re import Pattern, Match
@@ -36,6 +37,9 @@ class BaseTest(unittest.TestCase):
Mapping, MutableMapping, MappingView,
KeysView, ItemsView, ValuesView,
Sequence, MutableSequence,
+ MappingProxyType,
+ DirEntry,
+ IPv4Network, IPv4Interface, IPv6Network, IPv6Interface,
MappingProxyType, DirEntry,
chain,
):