[Python-checkins] CVS: python/dist/src/Lib/test test_ntpath.py,1.6,1.7

Eric S. Raymond esr@users.sourceforge.net
Fri, 09 Feb 2001 03:50:18 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv18228

Modified Files:
	test_ntpath.py 
Log Message:
String method conversion.


Index: test_ntpath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_ntpath.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** test_ntpath.py	2000/10/23 17:22:07	1.6
--- test_ntpath.py	2001/02/09 11:50:16	1.7
***************
*** 1,4 ****
  import ntpath
- import string
  import os
  
--- 1,3 ----
***************
*** 6,10 ****
  
  def tester(fn, wantResult):
!     fn = string.replace(fn, "\\", "\\\\")
      gotResult = eval(fn)
      if wantResult != gotResult:
--- 5,9 ----
  
  def tester(fn, wantResult):
!     fn = fn.replace("\\", "\\\\")
      gotResult = eval(fn)
      if wantResult != gotResult: