Skip to content

Commit

Permalink
Try using LANGUAGE instead of LANG
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-easterbrook committed Dec 27, 2023
1 parent d323fe0 commit a19ce8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def test_localisation(self):
try:
locale.setlocale(locale.LC_ALL, name)
# on some OS, dgettext ignores locale and uses LANG
os.environ['LANG'] = name
os.environ['LANGUAGE'] = name
break
except locale.Error:
continue
Expand Down

0 comments on commit a19ce8f

Please sign in to comment.