tests: fix `fail_on_ascii` fixture
In my environment, with: - LANGUAGE=en_US:en_GB:en:C - LC_ALL=en_US.UTF-8 Running the testsuite with: - python3.6 -m pytest: is successful - tox -e py36: fails The later because LC_ALL is unset by tox, and LANGUAGE is not passed through, so `locale.getpreferredencoding()` returns 'ANSI_X3.4-1968'.
Showing
Please register or sign in to comment