μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
test_iostream Namespace Reference

Functions

def redirect_stdout (target)
 
def redirect_stderr (target)
 
def test_captured (capsys)
 
def test_captured_large_string (capsys)
 
def test_captured_utf8_2byte_offset0 (capsys)
 
def test_captured_utf8_2byte_offset1 (capsys)
 
def test_captured_utf8_3byte_offset0 (capsys)
 
def test_captured_utf8_3byte_offset1 (capsys)
 
def test_captured_utf8_3byte_offset2 (capsys)
 
def test_captured_utf8_4byte_offset0 (capsys)
 
def test_captured_utf8_4byte_offset1 (capsys)
 
def test_captured_utf8_4byte_offset2 (capsys)
 
def test_captured_utf8_4byte_offset3 (capsys)
 
def test_guard_capture (capsys)
 
def test_series_captured (capture)
 
def test_flush (capfd)
 
def test_not_captured (capfd)
 
def test_err (capfd)
 
def test_multi_captured (capfd)
 
def test_dual (capsys)
 
def test_redirect (capfd)
 
def test_redirect_err (capfd)
 
def test_redirect_both (capfd)
 
def test_threading ()
 

Function Documentation

◆ redirect_stderr()

def test_iostream.redirect_stderr (   target)

Definition at line 36 of file test_iostream.py.

◆ redirect_stdout()

def test_iostream.redirect_stdout (   target)

Definition at line 23 of file test_iostream.py.

◆ test_captured()

def test_iostream.test_captured (   capsys)

Definition at line 43 of file test_iostream.py.

◆ test_captured_large_string()

def test_iostream.test_captured_large_string (   capsys)

Definition at line 61 of file test_iostream.py.

References len().

◆ test_captured_utf8_2byte_offset0()

def test_iostream.test_captured_utf8_2byte_offset0 (   capsys)

Definition at line 72 of file test_iostream.py.

References len().

◆ test_captured_utf8_2byte_offset1()

def test_iostream.test_captured_utf8_2byte_offset1 (   capsys)

Definition at line 82 of file test_iostream.py.

References len().

◆ test_captured_utf8_3byte_offset0()

def test_iostream.test_captured_utf8_3byte_offset0 (   capsys)

Definition at line 92 of file test_iostream.py.

References len().

◆ test_captured_utf8_3byte_offset1()

def test_iostream.test_captured_utf8_3byte_offset1 (   capsys)

Definition at line 102 of file test_iostream.py.

References len().

◆ test_captured_utf8_3byte_offset2()

def test_iostream.test_captured_utf8_3byte_offset2 (   capsys)

Definition at line 112 of file test_iostream.py.

References len().

◆ test_captured_utf8_4byte_offset0()

def test_iostream.test_captured_utf8_4byte_offset0 (   capsys)

Definition at line 122 of file test_iostream.py.

References len().

◆ test_captured_utf8_4byte_offset1()

def test_iostream.test_captured_utf8_4byte_offset1 (   capsys)

Definition at line 132 of file test_iostream.py.

References len().

◆ test_captured_utf8_4byte_offset2()

def test_iostream.test_captured_utf8_4byte_offset2 (   capsys)

Definition at line 142 of file test_iostream.py.

References len().

◆ test_captured_utf8_4byte_offset3()

def test_iostream.test_captured_utf8_4byte_offset3 (   capsys)

Definition at line 152 of file test_iostream.py.

References len().

◆ test_dual()

def test_iostream.test_dual (   capsys)

Definition at line 246 of file test_iostream.py.

◆ test_err()

def test_iostream.test_err (   capfd)

Definition at line 215 of file test_iostream.py.

◆ test_flush()

def test_iostream.test_flush (   capfd)

Definition at line 177 of file test_iostream.py.

◆ test_guard_capture()

def test_iostream.test_guard_capture (   capsys)

Definition at line 162 of file test_iostream.py.

◆ test_multi_captured()

def test_iostream.test_multi_captured (   capfd)

Definition at line 234 of file test_iostream.py.

◆ test_not_captured()

def test_iostream.test_not_captured (   capfd)

Definition at line 196 of file test_iostream.py.

◆ test_redirect()

def test_iostream.test_redirect (   capfd)

Definition at line 253 of file test_iostream.py.

◆ test_redirect_both()

def test_iostream.test_redirect_both (   capfd)

Definition at line 293 of file test_iostream.py.

◆ test_redirect_err()

def test_iostream.test_redirect_err (   capfd)

Definition at line 278 of file test_iostream.py.

◆ test_series_captured()

def test_iostream.test_series_captured (   capture)

Definition at line 170 of file test_iostream.py.

◆ test_threading()

def test_iostream.test_threading ( )

Definition at line 311 of file test_iostream.py.