MCPcopy
hub / github.com/psf/black / read_data

Function read_data

tests/util.py:224–227  ·  view source on GitHub ↗

read_data('test_name') -> 'input', 'output

(subdir_name: str, name: str, data: bool = True)

Source from the content-addressed store, hash-verified

222
223
224def read_data(subdir_name: str, name: str, data: bool = True) -> tuple[str, str]:
225 """read_data('test_name') -> 'input', 'output'"""
226 _, input, output = read_data_with_mode(subdir_name, name, data)
227 return input, output
228
229
230def _parse_minimum_version(version: str) -> tuple[int, int]:

Calls 1

read_data_with_modeFunction · 0.85