From 57bc5fa60a25661237861b3d3c9941ca8f5dbfd7 Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Fri, 1 Nov 2002 18:02:03 +0000 Subject: Patch #631972: Adds an is_jython flag. --- Lib/test/test_support.py | 2 ++ 1 file changed, 2 insertions(+) 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': -- cgit v0.12