[Python-checkins] CVS: python/dist/src/Lib/test test_support.py,1.16,1.17

Guido van Rossum gvanrossum@usw-pr-cvs1.sourceforge.net
2001年3月13日 01:31:09 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv10881
Modified Files:
	test_support.py 
Log Message:
Oops. A RISCOS patch I forgot to check in.
Index: test_support.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_support.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** test_support.py	2001年02月21日 07:29:48	1.16
--- test_support.py	2001年03月13日 09:31:07	1.17
***************
*** 56,60 ****
 return cmp(x, y)
 
! TESTFN = '@test' # Filename used for testing
 from os import unlink
 
--- 56,66 ----
 return cmp(x, y)
 
! import os
! if os.name !='riscos':
! TESTFN = '@test' # Filename used for testing
! else:
! TESTFN = 'test' # Filename used for testing
! del os
! 
 from os import unlink
 

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