Skip to content

Commit

Permalink
Make linter happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Dec 4, 2024
1 parent 290789e commit a21bde1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/zope/app/file/browser/tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
from xml.sax.saxutils import escape

from webtest import TestApp
from zope.interface.interfaces import ComponentLookupError
from zope.app.wsgi.testlayer import encodeMultipartFormdata
from zope.interface.interfaces import ComponentLookupError

from zope.app.file.file import File
from zope.app.file.image import Image
Expand Down Expand Up @@ -380,7 +380,8 @@ def test_suite():
def _make_doctest(fname):
test = doctest.DocFileSuite(
fname,
globs={'http': http, 'encodeMultipartFormdata': encodeMultipartFormdata},
globs={'http': http,
'encodeMultipartFormdata': encodeMultipartFormdata},
optionflags=(doctest.ELLIPSIS
| doctest.NORMALIZE_WHITESPACE
| doctest.IGNORE_EXCEPTION_DETAIL))
Expand Down
1 change: 0 additions & 1 deletion src/zope/app/file/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

from zope.app.wsgi.testlayer import http as _http


from zope.app.file.testing import AppFileLayer


Expand Down

0 comments on commit a21bde1

Please sign in to comment.