summaryrefslogtreecommitdiff
path: root/python/test/Slice/unicodePaths/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Slice/unicodePaths/run.py')
-rw-r--r--python/test/Slice/unicodePaths/run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/test/Slice/unicodePaths/run.py b/python/test/Slice/unicodePaths/run.py
index c8b3cebddb9..26e03e7beff 100644
--- a/python/test/Slice/unicodePaths/run.py
+++ b/python/test/Slice/unicodePaths/run.py
@@ -45,7 +45,7 @@ if os.environ.get("USE_BIN_DIST", "no") == "yes":
elif TestUtil.isWin32():
pythonHome = os.path.dirname(sys.executable)
slice2py = sys.executable + " " + os.path.join(pythonHome, "Scripts", "slice2py.exe")
- elif TestUtil.isYocto():
+ elif os.path.isfile(os.path.join(TestUtil.getCppBinDir(), "slice2py")):
slice2py = os.path.join(TestUtil.getCppBinDir(), "slice2py")
else:
import slice2py