ports/devel/ice/files/patch-python-test-Slice-unicodePaths-run.py
2022-01-15 20:23:08 +01:00

11 lines
455 B
Python

--- python/test/Slice/unicodePaths/run.py.orig 2019-08-12 19:54:18 UTC
+++ python/test/Slice/unicodePaths/run.py
@@ -26,7 +26,7 @@ def test(b):
print("failed!")
sys.exit(1)
-if TestUtil.isAIX() or TestUtil.isLinux():
+if TestUtil.isAIX() or TestUtil.isLinux() or TestUtil.isFreeBSD():
encoding = locale.getdefaultlocale()[1]
if encoding != "UTF-8":
print("Please set LC_ALL to xx_xx.UTF-8, for example FR_FR.UTF-8")