Show More
@@ -213,7 +213,9 b' def ipexec(fname, options=None):' | |||
|
213 | 213 | # Absolute path for filename |
|
214 | 214 | full_fname = os.path.join(test_dir, fname) |
|
215 | 215 | full_cmd = ipython_cmd + cmdargs + [full_fname] |
|
216 | p = Popen(full_cmd, stdout=PIPE, stderr=PIPE) | |
|
216 | env = os.environ.copy() | |
|
217 | env.pop('PYTHONWARNINGS') # Avoid extraneous warnings appearing on stderr | |
|
218 | p = Popen(full_cmd, stdout=PIPE, stderr=PIPE, env=env) | |
|
217 | 219 | out, err = p.communicate() |
|
218 | 220 | out, err = py3compat.bytes_to_str(out), py3compat.bytes_to_str(err) |
|
219 | 221 | # `import readline` causes 'ESC[?1034h' to be output sometimes, |
General Comments 0
You need to be logged in to leave comments.
Login now