]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Sort all_locales
authorAarni Koskela <akx@iki.fi>
Tue, 25 Jan 2022 14:05:10 +0000 (16:05 +0200)
committerAarni Koskela <akx@iki.fi>
Tue, 25 Jan 2022 14:05:10 +0000 (16:05 +0200)
tests/conftest.py

index 5b14b1ca72350e2d83614befe3df8920ffd520e7..dc49ef2b0e1df0748979ecc839e46006b10835fa 100644 (file)
@@ -14,5 +14,5 @@ def pytest_generate_tests(metafunc):
         for mark in metafunc.function.pytestmark:
             if mark.name == "all_locales":
                 from babel.localedata import locale_identifiers
-                metafunc.parametrize("locale", list(locale_identifiers()))
+                metafunc.parametrize("locale", sorted(locale_identifiers()))
                 break