Merge: PEP8 fixup on previous patch, remove unused imports in test_email.
This commit is contained in:
commit
857b24b0d5
|
@ -156,7 +156,7 @@ class Generator:
|
|||
self.write(self._NL)
|
||||
laststripped = lines[-1].rstrip('\r\n')
|
||||
self.write(laststripped)
|
||||
if len(lines[-1])!=len(laststripped):
|
||||
if len(lines[-1]) != len(laststripped):
|
||||
self.write(self._NL)
|
||||
|
||||
def _write(self, msg):
|
||||
|
|
|
@ -2,14 +2,10 @@
|
|||
# Contact: email-sig@python.org
|
||||
# email package unit tests
|
||||
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import time
|
||||
import base64
|
||||
import difflib
|
||||
import unittest
|
||||
import warnings
|
||||
import textwrap
|
||||
|
||||
from io import StringIO, BytesIO
|
||||
|
@ -37,7 +33,7 @@ from email import iterators
|
|||
from email import base64mime
|
||||
from email import quoprimime
|
||||
|
||||
from test.support import run_unittest, unlink
|
||||
from test.support import unlink
|
||||
from test.test_email import openfile, TestEmailBase
|
||||
|
||||
NL = '\n'
|
||||
|
|
Loading…
Reference in New Issue