diff options
author | Ethan Smith <ethan@ethanhs.me> | 2020-04-10 03:28:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 03:28:08 (GMT) |
commit | a8403d057d41a022d819fd8d6fbe2a666f72b6f5 (patch) | |
tree | 9dd4b2f0ea50d8512a9245aeb3c4492b0aa20a2c /Lib/test/test_genericalias.py | |
parent | 38ada3bac8205a7690d573d715b0e84e60297c4c (diff) | |
download | cpython-a8403d057d41a022d819fd8d6fbe2a666f72b6f5.zip cpython-a8403d057d41a022d819fd8d6fbe2a666f72b6f5.tar.gz cpython-a8403d057d41a022d819fd8d6fbe2a666f72b6f5.tar.bz2 |
Generic itertools.chain (GH-19417)
Diffstat (limited to 'Lib/test/test_genericalias.py')
-rw-r--r-- | Lib/test/test_genericalias.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_genericalias.py b/Lib/test/test_genericalias.py index 9c5b23e..d8acdee 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 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}"): |