def partial(fn, **kwargs):
    rval = functools.partial(fn, **kwargs)
    if hasattr(fn, 'fmin_pass_expr_memo_ctrl'):
        rval.fmin_pass_expr_memo_ctrl = fn.fmin_pass_expr_memo_ctrl
    return rval
Destroys all the non-mirror databases.
dataset/ETHPy150Open hyperopt/hyperopt/hyperopt/fmin.py/partial--crossover with--dataset/ETHPy150Open django/django/django/test/runner.py/DiscoverRunner.teardown_databases