Searched refs:new_stdout (Results 1 – 5 of 5) sorted by relevance
/external/python/apitools/apitools/gen/ |
D | test_utils.py | 52 new_stdout, new_stderr = six.StringIO(), six.StringIO() 55 sys.stdout, sys.stderr = new_stdout, new_stderr 56 yield new_stdout, new_stderr
|
/external/python/setuptools/setuptools/tests/ |
D | contexts.py | 61 new_stdout = sys.stdout = six.StringIO() 64 yield new_stdout, new_stderr 66 new_stdout.seek(0)
|
/external/python/cpython2/Demo/pysvr/ |
D | pysvr.c | 279 PyObject *new_stdin, *new_stdout; in run_interpreter() local 297 new_stdout = PyFile_FromFile(output, "<socket-out>", "w", NULL); in run_interpreter() 300 PySys_SetObject("stdout", new_stdout); in run_interpreter() 301 PySys_SetObject("stderr", new_stdout); in run_interpreter() 335 Py_XDECREF(new_stdout); in run_interpreter()
|
/external/python/apitools/apitools/scripts/ |
D | oauth2l_test.py | 49 new_stdout = six.StringIO() 52 sys.stdout = new_stdout 58 new_stdout.seek(0) 59 return new_stdout.getvalue().rstrip()
|
/external/python/cpython3/Lib/test/ |
D | test_subprocess.py | 2035 new_stdout = os.dup(1) 2049 os.dup2(new_stdout, 1) 2051 os.close(new_stdout)
|