summaryrefslogtreecommitdiff
path: root/ruby/test/Slice/unicodePaths/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/test/Slice/unicodePaths/run.py')
-rw-r--r--ruby/test/Slice/unicodePaths/run.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/ruby/test/Slice/unicodePaths/run.py b/ruby/test/Slice/unicodePaths/run.py
index 9805c4ee2e2..3ff0e2838c5 100644
--- a/ruby/test/Slice/unicodePaths/run.py
+++ b/ruby/test/Slice/unicodePaths/run.py
@@ -33,10 +33,15 @@ if TestUtil.isAIX() or TestUtil.isLinux():
print("Skipping test")
sys.exit(0)
+if TestUtil.isWin32():
+ print("Ruby on Windows is build with MINGW and it doesn't support Windows UNICODE APIs")
+ print("Skipping test")
+ sys.exit(0)
+
if sys.version_info[0] == 2 and TestUtil.isWin32():
print("To run this test on Windows you need to be using Python 3.x")
print("Python 2.x subprocess module doesn't support unicode on Windows")
- print("Skipping tes")
+ print("Skipping test")
sys.exit(0)
if os.environ.get("USE_BIN_DIST", "no") == "yes":