def _locale(request):
    return Locale.parse(request.locale_name)
Tests that parsing metrics succeeds and returns an array
dataset/ETHPy150Open pypa/warehouse/warehouse/i18n/__init__.py/_locale--crossover with--dataset/ETHPy150Open kiip/statsite/tests/unit/test_collector.py/TestCollector.test_parse_metrics_succeeds