summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-11-03 12:23:33 (GMT)
committerGitHub <noreply@github.com>2023-11-03 12:23:33 (GMT)
commitccc8caa8587103c4ccf617ba106cef63344504dd (patch)
treee82005f618007348b1a7aa2e46e24b99bc4fa8f6 /Lib
parent24ddaee5ca112063b460e72d31b3da551a02bf0a (diff)
downloadcpython-ccc8caa8587103c4ccf617ba106cef63344504dd.zip
cpython-ccc8caa8587103c4ccf617ba106cef63344504dd.tar.gz
cpython-ccc8caa8587103c4ccf617ba106cef63344504dd.tar.bz2
gh-111681: minor fixes to typing doctests; remove unused imports in `test_typing` (#111682)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_typing.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index 7f60bf4..9dd637b 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -9,8 +9,7 @@ import itertools
import pickle
import re
import sys
-import warnings
-from unittest import TestCase, main, skipUnless, skip
+from unittest import TestCase, main, skip
from unittest.mock import patch
from copy import copy, deepcopy
@@ -45,7 +44,7 @@ import typing
import weakref
import types
-from test.support import import_helper, captured_stderr, cpython_only
+from test.support import captured_stderr, cpython_only
from test import mod_generics_cache
from test import _typed_dict_helper