Kaydet (Commit) 965794ed authored tarafından R David Murray's avatar R David Murray

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

......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment