def METHOD_NAME(metric_name):
    from ...testing.tests import statistic
    try:
        test_name = _metric_test_mapping[metric_name]
        return getattr(statistic, test_name)
    except (KeyError, AttributeError):
        return None