[Python-checkins] python/dist/src/Lib/test test_support.py,1.42,1.43

bckfnn@users.sourceforge.net bckfnn@users.sourceforge.net
2002年11月01日 10:02:07 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv3851
Modified Files:
	test_support.py 
Log Message:
Patch #631972: Adds an is_jython flag.
Index: test_support.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_support.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** test_support.py	30 Jul 2002 23:26:01 -0000	1.42
--- test_support.py	1 Nov 2002 18:02:03 -0000	1.43
***************
*** 82,85 ****
--- 82,87 ----
 have_unicode = 0
 
+ is_jython = sys.platform.startswith('java')
+ 
 import os
 # Filename used for testing

AltStyle によって変換されたページ (->オリジナル) /