Home
last modified time | relevance | path

Searched refs:captured_output (Results 1 – 25 of 25) sorted by relevance

/external/python/rsa/tests/
Dtest_cli.py38 def captured_output(): function
130 with captured_output() as (out, err):
143 with captured_output() as (out, err):
159 with captured_output() as (out, err):
175 with captured_output() as (out, err):
208 with captured_output():
212 with captured_output() as (out, err):
225 with captured_output():
234 with captured_output() as (out, err):
253 with captured_output():
[all …]
/external/yapf/yapftests/
Dmain_test.py56 def captured_output(): function
92 with captured_output() as (out, err):
109 with captured_output() as (out, _):
118 with captured_output() as (out, _):
126 with captured_output() as (_, _):
131 with captured_output() as (out, _):
140 with captured_output() as (out, _):
/external/python/cpython3/Lib/test/
Dtest_traceback.py10 from test.support import TESTFN, Error, captured_output, unlink, cpython_only
238 with captured_output("stderr") as tbstderr:
242 with captured_output("stderr") as excstderr:
279 with captured_output("stderr") as ststderr:
292 with captured_output("stderr") as stderr:
313 with captured_output("stderr") as stderr_f:
360 with captured_output("stderr") as stderr_g:
396 with captured_output("stderr") as stderr_h:
424 with captured_output("stderr") as stderr_g:
452 with captured_output("stderr") as stderr_g:
[all …]
Dtest_future5.py15 with support.captured_output("stderr") as s:
Dtest_pydoc.py30 reap_children, reap_threads, captured_output, captured_stdout,
547 with captured_output('stdout') as output, \
548 captured_output('stderr') as err:
Dtest_thread.py149 with support.captured_output("stderr") as stderr:
Dtest_raise.py462 with support.captured_output("stderr"):
Dtest_sys.py81 with test.support.captured_output("stderr") as stderr:
Dtest_io.py1095 with support.captured_output("stderr") as s:
2831 with support.captured_output("stderr") as s:
Dtest_itertools.py992 with support.captured_output('stdout'):
Dtest_descr.py1277 with support.captured_output('stderr') as s:
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py41 def captured_output(): function
57 with captured_output() as (out, err):
149 with captured_output() as (out, err):
161 with captured_output() as (out, err):
192 with captured_output() as (out, err):
209 with captured_output() as (out, err):
532 with captured_output() as (out, _):
544 with captured_output() as (out, _):
/external/scapy/test/tls/
Dtravis_test_server.py31 def captured_output(): function
56 with captured_output() as (out, err):
/external/python/cpython2/Lib/test/
Dtest_site.py9 from test.test_support import captured_output
135 with captured_output("stderr") as err_out:
150 with captured_output("stderr") as err_out:
164 with captured_output("stderr") as err_out:
Dtest_future5.py15 with test_support.captured_output("stderr") as s:
Dtest_traceback.py8 captured_output)
213 with captured_output("stderr") as stderr:
Dtest_thread.py151 with support.captured_output("stderr") as stderr:
Dtest_warnings.py529 with test_support.captured_output('stderr') as stream:
550 with test_support.captured_output('stderr') as stream:
Dtest_io.py800 with support.captured_output("stderr") as s:
2285 with support.captured_output("stderr") as s:
Dtest_itertools.py659 with test_support.captured_output('stdout'):
Dtest_descr.py1168 with test_support.captured_output('stderr') as s:
/external/python/cpython2/Lib/test/support/
D__init__.py1211 def captured_output(stream_name): function
1229 return captured_output("stdout")
1232 return captured_output("stderr")
1235 return captured_output("stdin")
/external/python/cpython3/Lib/test/test_warnings/
D__init__.py749 with support.captured_output('stderr') as stream:
763 with support.captured_output('stderr') as stream:
774 with support.captured_output('stdout'):
785 with support.captured_output('stderr') as stream:
/external/python/cpython3/Lib/test/support/
D__init__.py1491 def captured_output(stream_name): function
1509 return captured_output("stdout")
1518 return captured_output("stderr")
1530 return captured_output("stdin")
/external/python/cpython2/Lib/bsddb/test/
Dtest_associate.py128 with test_support.captured_output("stderr") as s: