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

Function test_python_310_without_target_version

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

Source from the content-addressed store, hash-verified

113
114@pytest.mark.parametrize("filename", all_data_cases("py_310"))
115def test_python_310_without_target_version(filename: str) -> None:
116 source, expected = read_data("py_310", filename)
117 mode = black.Mode()
118 assert_format(source, expected, mode, minimum_version=(3, 10))
119
120
121def test_patma_invalid() -> None:

Callers

nothing calls this directly

Calls 2

read_dataFunction · 0.90
assert_formatFunction · 0.90

Tested by

no test coverage detected