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

Function read_data

tests/util.py:167–169  ·  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

165
166
167def read_data(subdir_name: str, name: str, data: bool = True) -> Tuple[str, str]:
168 """read_data('test_name') -> 'input', 'output'"""
169 return read_data_from_file(get_case_path(subdir_name, name, data))
170
171
172def read_data_from_file(file_name: Path) -> Tuple[str, str]:

Callers 15

check_fileFunction · 0.90
test_python_36Function · 0.90
test_python_37Function · 0.90
test_python_38Function · 0.90
test_python_39Function · 0.90
test_python_310Function · 0.90
test_patma_invalidFunction · 0.90
test_python_311Function · 0.90

Calls 2

read_data_from_fileFunction · 0.85
get_case_pathFunction · 0.85

Tested by 15

check_fileFunction · 0.72
test_python_36Function · 0.72
test_python_37Function · 0.72
test_python_38Function · 0.72
test_python_39Function · 0.72
test_python_310Function · 0.72
test_patma_invalidFunction · 0.72
test_python_311Function · 0.72