Skip to content

tests: Specify encoding in locale.

Brady Garvin requested to merge brady.j.garvin/pitivi:valid_test_locale into master

On some systems, local.setlocale cannot be called with just a language code; an encoding must be specified also. (See the documentation at https://docs.python.org/3/library/locale.html#locale.setlocale.)

This change specifies an encoding for the locale used in testing, which prevents exceptions from being thrown on such systems.

Merge request reports