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

Function test_python_38

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

Source from the content-addressed store, hash-verified

92
93@pytest.mark.parametrize("filename", all_data_cases("py_38"))
94def test_python_38(filename: str) -> None:
95 source, expected = read_data("py_38", filename)
96 mode = black.Mode(target_versions={black.TargetVersion.PY38})
97 assert_format(source, expected, mode, minimum_version=(3, 8))
98
99
100@pytest.mark.parametrize("filename", all_data_cases("py_39"))

Callers

nothing calls this directly

Calls 2

read_dataFunction · 0.90
assert_formatFunction · 0.90

Tested by

no test coverage detected