mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Generic itertools.chain (GH-19417)
This commit is contained in:
parent
38ada3bac8
commit
a8403d057d
2 changed files with 5 additions and 1 deletions
|
@ -7,6 +7,7 @@ from collections import (
|
|||
)
|
||||
from collections.abc import *
|
||||
from contextlib import AbstractContextManager, AbstractAsyncContextManager
|
||||
from itertools import chain
|
||||
from os import DirEntry
|
||||
from re import Pattern, Match
|
||||
from types import GenericAlias, MappingProxyType
|
||||
|
@ -35,7 +36,8 @@ class BaseTest(unittest.TestCase):
|
|||
Mapping, MutableMapping, MappingView,
|
||||
KeysView, ItemsView, ValuesView,
|
||||
Sequence, MutableSequence,
|
||||
MappingProxyType, DirEntry
|
||||
MappingProxyType, DirEntry,
|
||||
chain,
|
||||
):
|
||||
tname = t.__name__
|
||||
with self.subTest(f"Testing {tname}"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue