Show More
@@ -217,7 +217,10 b' def ipexec(fname, options=None, commands=()):' | |||||
217 | full_fname = os.path.join(test_dir, fname) |
|
217 | full_fname = os.path.join(test_dir, fname) | |
218 | full_cmd = ipython_cmd + cmdargs + [full_fname] |
|
218 | full_cmd = ipython_cmd + cmdargs + [full_fname] | |
219 | env = os.environ.copy() |
|
219 | env = os.environ.copy() | |
220 | env.pop('PYTHONWARNINGS', None) # Avoid extraneous warnings appearing on stderr |
|
220 | # FIXME: ignore all warnings in ipexec while we have shims | |
|
221 | # should we keep suppressing warnings here, even after removing shims? | |||
|
222 | env['PYTHONWARNINGS'] = 'ignore' | |||
|
223 | # env.pop('PYTHONWARNINGS', None) # Avoid extraneous warnings appearing on stderr | |||
221 | for k, v in env.items(): |
|
224 | for k, v in env.items(): | |
222 | # Debug a bizarre failure we've seen on Windows: |
|
225 | # Debug a bizarre failure we've seen on Windows: | |
223 | # TypeError: environment can only contain strings |
|
226 | # TypeError: environment can only contain strings |
General Comments 0
You need to be logged in to leave comments.
Login now