def test_color_no(testdir):
    testdir.makepyfile("def test_this(): assert 1")
    result = testdir.runpytest('--color=no')
    assert 'test session starts' in result.stdout.str()
    assert '\x1b[1m' not in result.stdout.str()
dataset/ETHPy150Open pytest-dev/pytest/testing/test_terminal.py/test_color_no/original