Skip to content

Commit

Permalink
removed not needed imports + pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jan 24, 2011
1 parent c4dcb14 commit 93cfda7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/zope/app/wsgi/testlayer.py
Expand Up @@ -12,8 +12,6 @@
#
##############################################################################
from StringIO import StringIO
import re
import base64
import httplib
import xmlrpclib

Expand All @@ -26,6 +24,7 @@
# BBB
from zope.testbrowser.wsgi import Browser


class TransactionMiddleware(object):
"""This middleware makes the WSGI application compatible with the
HTTPCaller behavior defined in zope.app.testing.functional:
Expand Down
7 changes: 4 additions & 3 deletions src/zope/app/wsgi/tests.py
Expand Up @@ -30,9 +30,10 @@ def cleanEvents(s):
def test_suite():

checker = renormalizing.RENormalizing([
(re.compile(r"<class 'zope.component.interfaces.ComponentLookupError'>"),
r'ComponentLookupError'),
])
(re.compile(
r"<class 'zope.component.interfaces.ComponentLookupError'>"),
r'ComponentLookupError'),
])
filereturns_suite = doctest.DocFileSuite('filereturns.txt')
filereturns_suite.layer = BrowserLayer(zope.app.wsgi)

Expand Down

0 comments on commit 93cfda7

Please sign in to comment.