[Python-checkins] CVS: python/dist/src/Lib/test test_dospath.py,1.2,1.3
Eric S. Raymond
esr@users.sourceforge.net
Fri, 09 Feb 2001 03:44:26 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv17696
Modified Files:
test_dospath.py
Log Message:
String method conversion.
Index: test_dospath.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_dospath.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_dospath.py 2000/10/23 17:22:07 1.2
--- test_dospath.py 2001/02/09 11:44:24 1.3
***************
*** 1,4 ****
import dospath
- 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: