summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/properties/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/properties/run.py')
-rwxr-xr-xcpp/test/Ice/properties/run.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/properties/run.py b/cpp/test/Ice/properties/run.py
index 3fc30655f5b..de83d2e51e2 100755
--- a/cpp/test/Ice/properties/run.py
+++ b/cpp/test/Ice/properties/run.py
@@ -31,7 +31,7 @@ if sys.version_info[0] == 2:
else:
configPath = "./config/\u4e2d\u56fd_client.config"
-TestUtil.createConfig(configPath,
+TestUtil.createConfig(configPath.decode("utf-8"),
["# Automatically generated by Ice test driver.",
"Ice.Trace.Protocol=1",
"Ice.Trace.Network=1",
@@ -41,5 +41,5 @@ TestUtil.createConfig(configPath,
TestUtil.simpleTest(client)
-if os.path.exists(configPath):
- os.remove(configPath)
+if os.path.exists(configPath.decode("utf-8")):
+ os.remove(configPath.decode("utf-8"))