Home
last modified time | relevance | path

Searched refs:new_stdout (Results 1 – 5 of 5) sorted by relevance

/external/python/apitools/apitools/gen/
Dtest_utils.py52 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/
Dcontexts.py61 new_stdout = sys.stdout = six.StringIO()
64 yield new_stdout, new_stderr
66 new_stdout.seek(0)
/external/python/cpython2/Demo/pysvr/
Dpysvr.c279 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/
Doauth2l_test.py49 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/
Dtest_subprocess.py2035 new_stdout = os.dup(1)
2049 os.dup2(new_stdout, 1)
2051 os.close(new_stdout)