diff options
Diffstat (limited to 'test/subdivide.py')
-rw-r--r-- | test/subdivide.py | 3 |
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) |