diff options
Diffstat (limited to 'python/test/Ice/properties/run.py')
-rwxr-xr-x | python/test/Ice/properties/run.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/test/Ice/properties/run.py b/python/test/Ice/properties/run.py index c6ce2b8cfad..23719647b00 100755 --- a/python/test/Ice/properties/run.py +++ b/python/test/Ice/properties/run.py @@ -29,7 +29,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", @@ -39,5 +39,5 @@ TestUtil.createConfig(configPath, TestUtil.simpleTest() -if os.path.exists(configPath): - os.remove(configPath) +if os.path.exists(configPath.decode("utf-8")): + os.remove(configPath.decode("utf-8")) |