Home
last modified time | relevance | path

Searched refs:captured_output (Results 1 – 24 of 24) 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/pybind11/tests/
Dtest_iostream.py41 m.captured_output(msg)
78 m.captured_output("a")
79 m.captured_output("b")
114 m.captured_output(msg)
143 m.captured_output("a")
145 m.captured_output("c")
/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_threading.py1194 with support.captured_output("stderr") as stderr:
1209 with support.captured_output("stderr") as stderr:
1232 with support.captured_output("stderr") as stderr:
1272 support.captured_output('stderr') as stderr:
Dtest_pydoc.py29 reap_children, reap_threads, captured_output, captured_stdout,
675 with captured_output('stdout') as output, \
676 captured_output('stderr') as err:
Dtest_sys.py102 with test.support.captured_output("stderr") as stderr:
945 with test.support.captured_output("stderr") as stderr:
1031 with test.support.captured_output("stderr") as stderr:
Dtest_itertools.py1011 with support.captured_output('stdout'):
Dtest_descr.py1286 with support.captured_output('stderr') as s:
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py51 def captured_output(): function
67 with captured_output() as (out, err):
186 with captured_output() as (out, err):
267 with captured_output() as (out, err):
315 with captured_output() as (out, err):
327 with captured_output() as (out, err):
358 with captured_output() as (out, err):
375 with captured_output() as (out, err):
698 with captured_output() as (out, _):
710 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__.py686 with support.captured_output('stderr') as stream:
700 with support.captured_output('stderr') as stream:
711 with support.captured_output('stdout'):
722 with support.captured_output('stderr') as stream:
/external/python/cpython3/Lib/test/support/
D__init__.py1621 def captured_output(stream_name): function
1639 return captured_output("stdout")
1648 return captured_output("stderr")
1660 return captured_output("stdin")
/external/python/cpython2/Lib/bsddb/test/
Dtest_associate.py128 with test_support.captured_output("stderr") as s: