From: Finn Bock Date: Fri, 1 Nov 2002 18:02:03 +0000 (+0000) Subject: Patch #631972: Adds an is_jython flag. X-Git-Tag: v2.3c1~3624 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=57bc5fa60a25661237861b3d3c9941ca8f5dbfd7;p=thirdparty%2FPython%2Fcpython.git Patch #631972: Adds an is_jython flag. --- diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 948c64561f89..c720f433629a 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':