

def test_captured_output():
    with captured_output() as (out, err):
        print('Hello world!')
    assert (err.getvalue().strip() == 'Hello world!')

dataset/ETHPy150Open kwikteam/phy/phy/utils/tests/test_testing.py test_captured_output/VarMisuse@30/41 `out`->`err`