77)
88from collections .abc import *
99from contextlib import AbstractContextManager , AbstractAsyncContextManager
10+ from mmap import mmap
1011from ipaddress import IPv4Network , IPv4Interface , IPv6Network , IPv6Interface
1112from itertools import chain
1213from os import DirEntry
1314from re import Pattern , Match
14- from types import GenericAlias , MappingProxyType
15+ from types import GenericAlias , MappingProxyType , AsyncGeneratorType
1516import typing
1617
1718from typing import TypeVar
@@ -21,7 +22,8 @@ class BaseTest(unittest.TestCase):
2122 """Test basics."""
2223
2324 def test_subscriptable (self ):
24- for t in (type , tuple , list , dict , set , frozenset ,
25+ for t in (type , tuple , list , dict , set , frozenset , enumerate ,
26+ mmap ,
2527 defaultdict , deque ,
2628 OrderedDict , Counter , UserDict , UserList ,
2729 Pattern , Match ,
@@ -37,10 +39,9 @@ def test_subscriptable(self):
3739 Mapping , MutableMapping , MappingView ,
3840 KeysView , ItemsView , ValuesView ,
3941 Sequence , MutableSequence ,
40- MappingProxyType ,
42+ MappingProxyType , AsyncGeneratorType ,
4143 DirEntry ,
4244 IPv4Network , IPv4Interface , IPv6Network , IPv6Interface ,
43- MappingProxyType , DirEntry ,
4445 chain ,
4546 ):
4647 tname = t .__name__
0 commit comments