summaryrefslogtreecommitdiffstats
path: root/test/subdivide.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/subdivide.py')
-rw-r--r--test/subdivide.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/subdivide.py b/test/subdivide.py
index a80bc46..2978e08 100644
--- a/test/subdivide.py
+++ b/test/subdivide.py
@@ -132,8 +132,7 @@ src/sub/bar.c
""" % locals()
if os.sep == '\\':
- import string
- expect = string.replace(expect, '\\', '\\\\')
+ expect = expect.replace('\\', '\\\\')
test.must_match(['src', 'prog.exe'], expect)