Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9f4aabe

Browse files
authored
Merge pull request #6755 from tacaswell/fix_pep8
PEP: fix minor formatting issues
2 parents c718e61 + e1c0afa commit 9f4aabe

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

lib/matplotlib/tests/test_backend_svg.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,17 @@ def _test_determinism(filename, usetex):
161161
# problem in the output property of the exception
162162
try:
163163
check_output([sys.executable, '-R', '-c',
164-
'import matplotlib; '
165-
'matplotlib.use("svg"); '
166-
'from matplotlib.tests.test_backend_svg '
167-
'import _test_determinism_save;'
168-
'_test_determinism_save(%r, %r)' % (filename, usetex)],
169-
stderr=STDOUT)
164+
'import matplotlib; '
165+
'matplotlib.use("svg"); '
166+
'from matplotlib.tests.test_backend_svg '
167+
'import _test_determinism_save;'
168+
'_test_determinism_save(%r, %r)' % (filename,
169+
usetex)],
170+
stderr=STDOUT)
170171
except CalledProcessError as e:
171-
# it's easier to use utf8 and ask for forgiveness than try to figure
172-
# out what the current console has as an encoding :-/
172+
# it's easier to use utf8 and ask for forgiveness than try
173+
# to figure out what the current console has as an
174+
# encoding :-/
173175
print(e.output.decode(encoding="utf-8", errors="ignore"))
174176
raise e
175177
with open(filename, 'rb') as fd:

0 commit comments

Comments
 (0)