8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d5d1d5 commit 6135b14Copy full SHA for 6135b14
lib/matplotlib/testing/compare.py
@@ -113,8 +113,8 @@ def get_file_hash(path, block_size=2 ** 20):
113
def make_external_conversion_command(cmd):
114
def convert(old, new):
115
cmdline = cmd(old, new)
116
- pipe = subprocess.Popen(
117
- cmdline, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ pipe = subprocess.Popen(cmdline, universal_newlines=True,
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE)
118
stdout, stderr = pipe.communicate()
119
errcode = pipe.wait()
120
if not os.path.exists(new) or errcode:
0 commit comments