summaryrefslogtreecommitdiff
path: root/Lib/test/test_dospath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dospath.py')
-rw-r--r--Lib/test/test_dospath.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_dospath.py b/Lib/test/test_dospath.py
index 08d32dae51..5b0fee52a8 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!"