def run_only_if_bernhard_is_available(func):
    try:
        import bernhard
    except __HOLE__:
        bernhard = None
    pred = lambda: bernhard is not None
    return run_only(func, pred)
dataset/ETHPy150Open BrightcoveOS/Diamond/src/diamond/handler/test/testriemann.py/run_only_if_bernhard_is_available