X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a8f68f57fed6cd6bf585b10abd3cc84d37c2fd05..715f60c11bc12d8d6ffedded90c2b9a6a1b6a287:/tests/test_format.py?ds=sidebyside diff --git a/tests/test_format.py b/tests/test_format.py index f3db423..ff358d5 100644 --- a/tests/test_format.py +++ b/tests/test_format.py @@ -155,12 +155,6 @@ def test_fast_cases(filename: str) -> None: assert_format(source, expected, fast=True) -def test_python_2_hint() -> None: - with pytest.raises(black.parsing.InvalidInput) as exc_info: - assert_format("print 'daylily'", "print 'daylily'") - exc_info.match(black.parsing.PY2_HINT) - - @pytest.mark.filterwarnings("ignore:invalid escape sequence.*:DeprecationWarning") def test_docstring_no_string_normalization() -> None: """Like test_docstring but with string normalization off."""