()
| 141 | |
| 142 | |
| 143 | def test_python_2_hint() -> None: |
| 144 | with pytest.raises(black.parsing.InvalidInput) as exc_info: |
| 145 | assert_format("print 'daylily'", "print 'daylily'") |
| 146 | exc_info.match(black.parsing.PY2_HINT) |
| 147 | |
| 148 | |
| 149 | @pytest.mark.filterwarnings("ignore:invalid escape sequence.*:DeprecationWarning") |
nothing calls this directly
no test coverage detected