Merge: PEP8 fixup on previous patch, remove unused imports in test_email.

This commit is contained in:
R David Murray 2013-03-07 18:17:19 -05:00
commit 857b24b0d5
2 changed files with 2 additions and 6 deletions

View File

@ -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):

View File

@ -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'