MCPcopy Create free account
hub / github.com/psf/black / test_python_310

Function test_python_310

tests/test_format.py:108–111  ·  view source on GitHub ↗
(filename: str)

Source from the content-addressed store, hash-verified

106
107@pytest.mark.parametrize("filename", all_data_cases("py_310"))
108def test_python_310(filename: str) -> None:
109 source, expected = read_data("py_310", filename)
110 mode = black.Mode(target_versions={black.TargetVersion.PY310})
111 assert_format(source, expected, mode, minimum_version=(3, 10))
112
113
114@pytest.mark.parametrize("filename", all_data_cases("py_310"))

Callers

nothing calls this directly

Calls 2

read_dataFunction · 0.90
assert_formatFunction · 0.90

Tested by

no test coverage detected