Improve Python tree-shaking

This commit is contained in:
Justine Tunney 2021-09-06 19:24:10 -07:00
parent 5bb2275788
commit 4f41f2184d
169 changed files with 4182 additions and 2411 deletions

View file

@ -5,7 +5,8 @@ import email
from email.message import Message
from email._policybase import compat32
from test.support import load_package_tests
from test.test_email import __file__ as landmark
landmark = __file__
# Load all tests in package
def load_tests(*args):

View file

@ -42,6 +42,7 @@ from email import quoprimime
from test.support import unlink, start_threads
from test.test_email import openfile, TestEmailBase
from encodings import iso2022_jp
# 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.