From 551a1565f8455129cfb5001d8e85c6e77f93254b Mon Sep 17 00:00:00 2001 From: Finn Bock Date: Fri, 1 Nov 2002 19:12:55 +0000 Subject: [PATCH] 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 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': -- 2.47.3