Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / subdivide.py
index a80bc46c0413f4b5a331fcf17c02738501db7b82..2978e08bd1603f66ada538d326d574782e5981bc 100644 (file)
@@ -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)