The test is dependant on the installation of the en_US.UTF-8
locale. The reasoning for this is clarified in the amended comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373737
91177308-0d34-0410-b5e6-
96231b3b80d8
# include arguments with non-ascii characters.
# Python on Linux defaults to ASCII encoding unless the
# environment specifies otherwise, so it is explicitly set.
+# The reliance the test has on this locale is not ideal,
+# however alternate solutions have been difficult due to
+# behaviour differences with python 2 vs python 3,
+# and linux vs windows.
RUN: env LANG=en_US.UTF-8 %python -c "assert open(u'\U000000A3.txt', 'rb').read() == b'contents\n'"