Skip to content

Commit d434480

Browse files
committed
Merge pull request #1239 from cgohlke/patch-7
Fix matplotlib.testing.util.MiniExpect.expect hangs on Windows
2 parents 5d73cfb + d1ce640 commit d434480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/compare.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def make_ghostscript_conversion_command():
151151

152152
def do_convert(old, new):
153153
process.expect("GS>")
154-
process.sendline("(%s) run" % old)
154+
process.sendline("(%s) run" % old.replace('\\', '/'))
155155
with open(new, 'wb') as fd:
156156
process.expect(">>showpage, press <return> to continue<<", fd)
157157
process.sendline('')

0 commit comments

Comments
 (0)