Module Expr Str ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias FunctionDef arguments args defaults body With Call NameLoad Call NameLoad Call NameLoad Call NameLoad TupleStore NameStore NameStore NameStore body With Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args defaults body With Call NameLoad Call NameLoad Call NameLoad TupleStore NameStore NameStore body With Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args defaults body With Call NameLoad Call NameLoad Call NameLoad TupleStore NameStore NameStore body With Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args defaults body With Call NameLoad Call NameLoad Call NameLoad Call NameLoad TupleStore NameStore NameStore NameStore body With Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assert AttributeLoad NameLoad attr Assert AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args defaults body With Call NameLoad Call NameLoad Call NameLoad Call NameLoad TupleStore NameStore NameStore NameStore body With Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Str Assert AttributeLoad NameLoad attr Assert AttributeLoad NameLoad attr decorator_list
N/A N/A Tests for async-I/O file descriptor tee-ing. contextlib nested N/A os N/A subprocess N/A sys teena Pipe tee test_can_tee_to_two_pipes N/A N/A N/A N/A N/A N/A nested N/A Pipe N/A Pipe N/A Pipe N/A p1 p2 p3 N/A N/A N/A N/A N/A tee N/A p1 read_fd N/A N/A p2 write_fd N/A p3 write_fd background N/A N/A N/A N/A os write N/A p1 write_fd foobar N/A N/A N/A os close N/A p1 write_fd N/A N/A N/A N/A os read N/A p2 read_fd 6 foobar N/A N/A N/A N/A os read N/A p3 read_fd 6 foobar N/A test_can_tee_to_stdout_and_a_simple_pipe N/A N/A N/A N/A N/A N/A nested N/A Pipe N/A Pipe N/A p1 p2 N/A N/A N/A N/A N/A tee N/A p1 read_fd N/A N/A N/A N/A sys stdout fileno N/A p2 write_fd background N/A N/A N/A N/A os write N/A p1 write_fd foobar N/A N/A N/A os close N/A p1 write_fd N/A N/A N/A N/A os read N/A p2 read_fd 6 foobar N/A test_tee_can_capture_subprocess_output_and_send_to_stdout N/A N/A N/A N/A N/A N/A nested N/A Pipe N/A Pipe N/A in_pipe out_pipe N/A N/A N/A N/A N/A tee N/A in_pipe read_fd N/A N/A N/A N/A sys stdout fileno N/A out_pipe write_fd background N/A N/A echo N/A N/A subprocess Popen N/A echo hello stdout N/A in_pipe write_fd N/A N/A N/A echo wait N/A N/A N/A os close N/A in_pipe write_fd N/A captured_output N/A N/A os read N/A out_pipe read_fd 8192 N/A N/A captured_output hello
 N/A test_tee_can_handle_pipe_closures_gracefully N/A N/A N/A N/A N/A N/A nested N/A Pipe N/A Pipe N/A Pipe N/A p1 p2 p3 N/A N/A N/A N/A N/A tee N/A p1 read_fd N/A N/A p2 write_fd N/A p3 write_fd background N/A N/A N/A N/A os write N/A p1 write_fd Hello!
 N/A N/A N/A p1 close_write N/A N/A p2 write_closed N/A N/A p3 write_closed N/A N/A N/A N/A os read N/A p2 read_fd 100 Hello!
 N/A N/A N/A N/A os read N/A p3 read_fd 100 Hello!
 N/A test_when_input_is_closed_reading_any_output_gives_empty_string N/A N/A N/A N/A N/A N/A nested N/A Pipe N/A Pipe N/A Pipe N/A p1 p2 p3 N/A N/A N/A N/A N/A tee N/A p1 read_fd N/A N/A p2 write_fd N/A p3 write_fd background N/A N/A N/A N/A p1 close_write N/A N/A N/A N/A os read N/A p2 read_fd 4096 N/A N/A N/A N/A os read N/A p3 read_fd 4096 N/A N/A p2 write_closed N/A N/A p3 write_closed N/A