diff options
author | Finn Bock <bckfnn@worldonline.dk> | 2002-11-01 18:02:03 (GMT) |
---|---|---|
committer | Finn Bock <bckfnn@worldonline.dk> | 2002-11-01 18:02:03 (GMT) |
commit | 57bc5fa60a25661237861b3d3c9941ca8f5dbfd7 (patch) | |
tree | 7ac198b4764e2fc5960797c5350b6e556749ad92 | |
parent | 768c98bb0b974cd3b5421252f8263e6d4afb8f79 (diff) | |
download | cpython-57bc5fa60a25661237861b3d3c9941ca8f5dbfd7.zip cpython-57bc5fa60a25661237861b3d3c9941ca8f5dbfd7.tar.gz cpython-57bc5fa60a25661237861b3d3c9941ca8f5dbfd7.tar.bz2 |
Patch #631972: Adds an is_jython flag.
-rw-r--r-- | Lib/test/test_support.py | 2 |
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': |