summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_email
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-13 14:56:03 (GMT)
committerGitHub <noreply@github.com>2022-06-13 14:56:03 (GMT)
commit3ceb4b8d3ad48101e67da8fb8f581d3377863bfa (patch)
tree6746b2bc59319492d2d4ea7d0ebbfc867f5912ca /Lib/test/test_email
parent65ff27c7d30b84655bf8caf6e396c65485708148 (diff)
downloadcpython-3ceb4b8d3ad48101e67da8fb8f581d3377863bfa.zip
cpython-3ceb4b8d3ad48101e67da8fb8f581d3377863bfa.tar.gz
cpython-3ceb4b8d3ad48101e67da8fb8f581d3377863bfa.tar.bz2
gh-84623: Remove unused imports in tests (#93772)
Diffstat (limited to 'Lib/test/test_email')
-rw-r--r--Lib/test/test_email/test_email.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_email/test_email.py b/Lib/test/test_email/test_email.py
index 2b1e2b8..0bf679b 100644
--- a/Lib/test/test_email/test_email.py
+++ b/Lib/test/test_email/test_email.py
@@ -7,7 +7,6 @@ import time
import base64
import unittest
import textwrap
-import warnings
from io import StringIO, BytesIO
from itertools import chain
@@ -45,7 +44,7 @@ from test.test_email import openfile, TestEmailBase
# These imports are documented to work, but we are testing them using a
# different path, so we import them here just to make sure they are importable.
-from email.parser import FeedParser, BytesFeedParser
+from email.parser import FeedParser
NL = '\n'
EMPTYSTRING = ''