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

Guido van Rossum gvanrossum@usw-pr-cvs1.sourceforge.net
Tue, 13 Mar 2001 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