diff options
Diffstat (limited to 'Lib/test/test_dospath.py')
-rw-r--r-- | Lib/test/test_dospath.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_dospath.py b/Lib/test/test_dospath.py index 08d32da..5b0fee5 100644 --- a/Lib/test/test_dospath.py +++ b/Lib/test/test_dospath.py @@ -1,11 +1,10 @@ import dospath -import string import os errors = 0 def tester(fn, wantResult): - fn = string.replace(fn, "\\", "\\\\") + fn = fn.replace("\\", "\\\\") gotResult = eval(fn) if wantResult != gotResult: print "error!" |