summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@worldonline.dk>2002-11-01 18:02:03 (GMT)
committerFinn Bock <bckfnn@worldonline.dk>2002-11-01 18:02:03 (GMT)
commit57bc5fa60a25661237861b3d3c9941ca8f5dbfd7 (patch)
tree7ac198b4764e2fc5960797c5350b6e556749ad92 /Lib/test
parent768c98bb0b974cd3b5421252f8263e6d4afb8f79 (diff)
downloadcpython-57bc5fa60a25661237861b3d3c9941ca8f5dbfd7.zip
cpython-57bc5fa60a25661237861b3d3c9941ca8f5dbfd7.tar.gz
cpython-57bc5fa60a25661237861b3d3c9941ca8f5dbfd7.tar.bz2
Patch #631972: Adds an is_jython flag.
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':