Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def get_manifest(metadata_root, test_path):
    manifest_path = expected.expected_path(metadata_root, test_path)
    try:
        with open(manifest_path) as f:
            return conditional.compile(f,
                                       data_cls_getter=data_cls_getter,
                                       test_path=test_path)
    except IOError:
        return None
        


src/w/p/wptrunner-0.2.5/wptrunner/metadata.py   wptrunner(Download)
def load_expected(metadata_path, test_path, tests):
    expected_manifest = manifestupdate.get_manifest(metadata_path, test_path)
    if expected_manifest is None:
        return