From: Finn Bock Date: Fri, 1 Nov 2002 19:12:55 +0000 (+0000) Subject: Patch #631972: Adds an is_jython flag. X-Git-Tag: v2.2.3c1~262 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=551a1565f8455129cfb5001d8e85c6e77f93254b;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 83bde3ee9f91..3c814443c792 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -78,6 +78,8 @@ try: except NameError: have_unicode = 0 +is_jython = sys.platform.startswith('java') + import os # Filename used for testing if os.name == 'java':