summaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-python-test-Ice-properties-run.py
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2015-12-27 17:40:15 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2015-12-27 17:40:15 +0000
commitee955dc4f8a9df0b1f005631a7eaa747d361e466 (patch)
treeffef14dad47251519a39a6d1b19c418777340f56 /devel/ice/files/patch-python-test-Ice-properties-run.py
parentRemove PYTHON_PORTVERSION guards since it's no longer exported (diff)
Update ice ports to 3.6.1 and switch to new unit test framework.
Approved by: mentors (implicit)
Notes
Notes: svn path=/head/; revision=404582
Diffstat (limited to '')
-rw-r--r--devel/ice/files/patch-python-test-Ice-properties-run.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/ice/files/patch-python-test-Ice-properties-run.py b/devel/ice/files/patch-python-test-Ice-properties-run.py
new file mode 100644
index 000000000000..da98dc879c6f
--- /dev/null
+++ b/devel/ice/files/patch-python-test-Ice-properties-run.py
@@ -0,0 +1,11 @@
+--- python/test/Ice/properties/run.py.orig 2015-12-27 02:42:11.742927971 +0100
++++ python/test/Ice/properties/run.py 2015-12-27 03:06:41.640921970 +0100
+@@ -26,7 +26,7 @@
+ #
+ if sys.version_info[0] == 2:
+ configPath = "./config/\xe4\xb8\xad\xe5\x9b\xbd_client.config"
+- decodedPath = configPath.decode("utf-8")
++ decodedPath = configPath
+ else:
+ configPath = "./config/\u4e2d\u56fd_client.config"
+ decodedPath = configPath # No need to decode with Python3, strings are already Unicode