summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_support.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 948c645..c720f43 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -81,6 +81,8 @@ try:
except NameError:
have_unicode = 0
+is_jython = sys.platform.startswith('java')
+
import os
# Filename used for testing
if os.name == 'java':