From e1c0afaa3a10ce75342ea63d97fb6c9b260181ee Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 16 Jul 2016 10:27:05 -0500 Subject: [PATCH] PEP: fix minor formatting issues --- lib/matplotlib/tests/test_backend_svg.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/lib/matplotlib/tests/test_backend_svg.py b/lib/matplotlib/tests/test_backend_svg.py index 5f2870e51ef..ea1e99af4f2 100644 --- a/lib/matplotlib/tests/test_backend_svg.py +++ b/lib/matplotlib/tests/test_backend_svg.py @@ -161,15 +161,17 @@ def _test_determinism(filename, usetex): # problem in the output property of the exception try: check_output([sys.executable, '-R', '-c', - 'import matplotlib; ' - 'matplotlib.use("svg"); ' - 'from matplotlib.tests.test_backend_svg ' - 'import _test_determinism_save;' - '_test_determinism_save(%r, %r)' % (filename, usetex)], - stderr=STDOUT) + 'import matplotlib; ' + 'matplotlib.use("svg"); ' + 'from matplotlib.tests.test_backend_svg ' + 'import _test_determinism_save;' + '_test_determinism_save(%r, %r)' % (filename, + usetex)], + stderr=STDOUT) except CalledProcessError as e: - # it's easier to use utf8 and ask for forgiveness than try to figure - # out what the current console has as an encoding :-/ + # it's easier to use utf8 and ask for forgiveness than try + # to figure out what the current console has as an + # encoding :-/ print(e.output.decode(encoding="utf-8", errors="ignore")) raise e with open(filename, 'rb') as fd: