diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2022-05-02 15:10:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 15:10:02 (GMT) |
commit | ab616d323dbc473f8d5563b596e882ed3ccdf77b (patch) | |
tree | d5ec3c1d089faafbc0c6828f7e25efe13a0179c0 /Lib/test/test_genericalias.py | |
parent | 031397063e9c22711abfbf90f2617c8785cfc42c (diff) | |
download | cpython-ab616d323dbc473f8d5563b596e882ed3ccdf77b.zip cpython-ab616d323dbc473f8d5563b596e882ed3ccdf77b.tar.gz cpython-ab616d323dbc473f8d5563b596e882ed3ccdf77b.tar.bz2 |
gh-92128: Add `__class_getitem__` to `logging.LoggerAdapter` and `logging.StreamHandler` (#92129)
Closes #92128
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 bf96ba0..635ac0f 100644 --- a/Lib/test/test_genericalias.py +++ b/Lib/test/test_genericalias.py @@ -14,6 +14,7 @@ from contextvars import ContextVar, Token from dataclasses import Field from functools import partial, partialmethod, cached_property from graphlib import TopologicalSorter +from logging import LoggerAdapter, StreamHandler from mailbox import Mailbox, _PartialFile try: import ctypes @@ -113,6 +114,7 @@ class BaseTest(unittest.TestCase): MappingProxyType, AsyncGeneratorType, DirEntry, chain, + LoggerAdapter, StreamHandler, TemporaryDirectory, SpooledTemporaryFile, Queue, SimpleQueue, _AssertRaisesContext, |