def warning(*args, **kw):
    text = format(*args, **kw)
    if terminal_supports_colors(sys.stderr):
        text = ansi_wrap(text, color='red')
    sys.stderr.write(text + '\n')
Parses a test spec string.
dataset/ETHPy150Open xolox/python-humanfriendly/humanfriendly/terminal.py/warning--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/jvm/tasks/junit_run.py/interpret_test_spec