def read_fixture(fixture_name): fixture_json = fixture_file(fixture_name).read_text() return PythonInfo._from_json(fixture_json)
def _load_pypi_info(name): return PythonInfo._from_json( (Path(__file__).parent / "{}.json".format(name)).read_text())
def read_fixture(fixture_name): fixture_json = fixture_file(fixture_name).read_text() return PythonInfo._from_json(fixture_json)
def _load_pypi_info(name): return PythonInfo._from_json( (Path(__file__).parent / "{}.json".format(name)).read_text())