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

Function test_python_36

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

Source from the content-addressed store, hash-verified

78
79@pytest.mark.parametrize("filename", all_data_cases("py_36"))
80def test_python_36(filename: str) -> None:
81 source, expected = read_data("py_36", filename)
82 mode = black.Mode(target_versions=PY36_VERSIONS)
83 assert_format(source, expected, mode, minimum_version=(3, 6))
84
85
86@pytest.mark.parametrize("filename", all_data_cases("py_37"))

Callers

nothing calls this directly

Calls 2

read_dataFunction · 0.90
assert_formatFunction · 0.90

Tested by

no test coverage detected