Show More
@@ -216,14 +216,12 b' def ipexec(fname, options=None):' | |||
|
216 | 216 | full_fname = os.path.join(test_dir, fname) |
|
217 | 217 | full_cmd = '%s %s %s' % (ipython_cmd, cmdargs, full_fname) |
|
218 | 218 | #print >> sys.stderr, 'FULL CMD:', full_cmd # dbg |
|
219 | out = getoutputerror(full_cmd) | |
|
219 | out, err = getoutputerror(full_cmd) | |
|
220 | 220 | # `import readline` causes 'ESC[?1034h' to be output sometimes, |
|
221 | 221 | # so strip that out before doing comparisons |
|
222 | 222 | if out: |
|
223 | out,err = out | |
|
224 | 223 | out = re.sub(r'\x1b\[[^h]+h', '', out) |
|
225 |
|
|
|
226 | return out | |
|
224 | return out, err | |
|
227 | 225 | |
|
228 | 226 | |
|
229 | 227 | def ipexec_validate(fname, expected_out, expected_err='', |
General Comments 0
You need to be logged in to leave comments.
Login now