-@pytest.mark.parametrize("filename", all_data_cases("py_36"))
-def test_python_36(filename: str) -> None:
- source, expected = read_data("py_36", filename)
- mode = black.Mode(target_versions=PY36_VERSIONS)
- assert_format(source, expected, mode, minimum_version=(3, 6))
-
-
-@pytest.mark.parametrize("filename", all_data_cases("py_37"))
-def test_python_37(filename: str) -> None:
- source, expected = read_data("py_37", filename)
- mode = black.Mode(target_versions={black.TargetVersion.PY37})
- assert_format(source, expected, mode, minimum_version=(3, 7))
-
-
-@pytest.mark.parametrize("filename", all_data_cases("py_38"))
-def test_python_38(filename: str) -> None:
- source, expected = read_data("py_38", filename)
- mode = black.Mode(target_versions={black.TargetVersion.PY38})
- assert_format(source, expected, mode, minimum_version=(3, 8))
-
-
-@pytest.mark.parametrize("filename", all_data_cases("py_39"))
-def test_python_39(filename: str) -> None:
- source, expected = read_data("py_39", filename)
- mode = black.Mode(target_versions={black.TargetVersion.PY39})
- assert_format(source, expected, mode, minimum_version=(3, 9))
-
-
-@pytest.mark.parametrize("filename", all_data_cases("py_310"))
-def test_python_310(filename: str) -> None:
- source, expected = read_data("py_310", filename)
- mode = black.Mode(target_versions={black.TargetVersion.PY310})
- assert_format(source, expected, mode, minimum_version=(3, 10))
-
-
-@pytest.mark.parametrize("filename", all_data_cases("py_310"))
-def test_python_310_without_target_version(filename: str) -> None:
- source, expected = read_data("py_310", filename)
- mode = black.Mode()
- assert_format(source, expected, mode, minimum_version=(3, 10))
-
-