From d01628e411752ee6849f862cae66a1c69fe512b7 Mon Sep 17 00:00:00 2001 From: Ethan Smith Date: Tue, 14 Apr 2020 16:14:15 -0700 Subject: bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) --- Lib/test/test_genericalias.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Lib/test/test_genericalias.py') diff --git a/Lib/test/test_genericalias.py b/Lib/test/test_genericalias.py index 686df17d6a..37cbf92ed1 100644 --- a/Lib/test/test_genericalias.py +++ b/Lib/test/test_genericalias.py @@ -9,7 +9,10 @@ from collections.abc import * from concurrent.futures import Future from concurrent.futures.thread import _WorkItem from contextlib import AbstractContextManager, AbstractAsyncContextManager -from functools import partial, partialmethod, _lru_cache_wrapper, cached_property +from contextvars import ContextVar, Token +from dataclasses import Field +from functools import partial, partialmethod, cached_property +from mailbox import Mailbox, _PartialFile from ctypes import Array, LibraryLoader from difflib import SequenceMatcher from filecmp import dircmp @@ -60,6 +63,9 @@ class BaseTest(unittest.TestCase): Reversible, Container, Collection, Callable, + Mailbox, _PartialFile, + ContextVar, Token, + Field, Set, MutableSet, Mapping, MutableMapping, MappingView, KeysView, ItemsView, ValuesView, -- cgit v1.2.1