def test_captured_output():
    with captured_output() as (out, err):
        print('Hello world!')
    assert out.getvalue().strip() != 'Hello world!'
dataset/ETHPy150Open kwikteam/phy/phy/utils/tests/test_testing.py/test_captured_output/operator `==` -> `!=`