diff options
author | Ethan Smith <ethan@ethanhs.me> | 2020-04-14 04:54:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-14 04:54:40 (GMT) |
commit | 8ef875028a3644a329c87ce420a73793e315143f (patch) | |
tree | 102695b9e45519561c88f9d9b91b66992cd40b72 /Lib/test/test_genericalias.py | |
parent | cecf049673da6a24435acd1a6a3b34472b323c97 (diff) | |
download | cpython-8ef875028a3644a329c87ce420a73793e315143f.zip cpython-8ef875028a3644a329c87ce420a73793e315143f.tar.gz cpython-8ef875028a3644a329c87ce420a73793e315143f.tar.bz2 |
bpo-39481: Make weakref and WeakSet generic (GH-19497)
Diffstat (limited to 'Lib/test/test_genericalias.py')
-rw-r--r-- | Lib/test/test_genericalias.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_genericalias.py b/Lib/test/test_genericalias.py index 770aeef..686df17 100644 --- a/Lib/test/test_genericalias.py +++ b/Lib/test/test_genericalias.py @@ -33,6 +33,7 @@ from tempfile import TemporaryDirectory, SpooledTemporaryFile from urllib.parse import SplitResult, ParseResult from unittest.case import _AssertRaisesContext from queue import Queue, SimpleQueue +from weakref import WeakSet, ReferenceType, ref import typing from typing import TypeVar @@ -73,6 +74,7 @@ class BaseTest(unittest.TestCase): Array, LibraryLoader, SplitResult, ParseResult, ValueProxy, ApplyResult, + WeakSet, ReferenceType, ref, ShareableList, SimpleQueue, Future, _WorkItem, Morsel, |