plone.api/fix_tests: fix flake8 issues

Alexander Loechel <jenkins-z4DKO/[email protected]> Mon, 31 Jul 2017 13:43:26 -0700 (PDT)
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: plone.api
Branch: refs/heads/fix_tests
Date: 2017-07-31T22:43:14+02:00
Author: Alexander Loechel (loechel) <[email protected]>
Commit: https://github.com/plone/plone.api/commit/c77dce76b2415d0a7f804886c56df63336184047

fix flake8 issues

Files changed:
M src/plone/api/tests/test_doctests.py

diff --git a/src/plone/api/tests/test_doctests.py b/src/plone/api/tests/test_doctests.py
index a3ba884..c946d40 100644
--- a/src/plone/api/tests/test_doctests.py
+++ b/src/plone/api/tests/test_doctests.py
@@ -118,9 +118,8 @@ def test_suite():
         try:
             doctests.append(DocFileSuite(os.path.join(path, filename)))
         except IOError:
-            logger.warning('test_doctest.py skipping {file}'.format(
-                    file=filename,
-                )
+            logger.warning(
+                'test_doctest.py skipping {file}'.format(file=filename),
             )
 
     return unittest.TestSuite(doctests)



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot