summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_genericalias.py
diff options
context:
space:
mode:
authorEthan Smith <ethan@ethanhs.me>2020-04-14 04:53:04 (GMT)
committerGitHub <noreply@github.com>2020-04-14 04:53:04 (GMT)
commitcecf049673da6a24435acd1a6a3b34472b323c97 (patch)
tree10ade472188b307c3a8874124a2ce5696a1da4c8 /Lib/test/test_genericalias.py
parent584a3cfda4d7a65ea0c1ea1ee541378bb7be46ca (diff)
downloadcpython-cecf049673da6a24435acd1a6a3b34472b323c97.zip
cpython-cecf049673da6a24435acd1a6a3b34472b323c97.tar.gz
cpython-cecf049673da6a24435acd1a6a3b34472b323c97.tar.bz2
bpo-39481: Make functools.cached_property, partial, partialmethod generic (#19427)
Diffstat (limited to 'Lib/test/test_genericalias.py')
-rw-r--r--Lib/test/test_genericalias.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_genericalias.py b/Lib/test/test_genericalias.py
index 02b7283..770aeef 100644
--- a/Lib/test/test_genericalias.py
+++ b/Lib/test/test_genericalias.py
@@ -9,6 +9,7 @@ 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 ctypes import Array, LibraryLoader
from difflib import SequenceMatcher
from filecmp import dircmp
@@ -49,6 +50,7 @@ class BaseTest(unittest.TestCase):
FileInput,
OrderedDict, Counter, UserDict, UserList,
Pattern, Match,
+ partial, partialmethod, cached_property,
AbstractContextManager, AbstractAsyncContextManager,
Awaitable, Coroutine,
AsyncIterable, AsyncIterator,