diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-03-29 14:21:04 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-03-29 14:21:04 (GMT) |
commit | 238a7bdb01614c5d6b81fdebadd069bc40a61d23 (patch) | |
tree | de2e680e944eb3c51fe1ba93714beba4605b18f4 /test/option | |
parent | 7adebb06bb6055345cc584377159d8052ea39e1b (diff) | |
download | SCons-238a7bdb01614c5d6b81fdebadd069bc40a61d23.zip SCons-238a7bdb01614c5d6b81fdebadd069bc40a61d23.tar.gz SCons-238a7bdb01614c5d6b81fdebadd069bc40a61d23.tar.bz2 |
http://scons.tigris.org/issues/show_bug.cgi?id=2345
The 'buffer' fixer simply replaces 'buffer( ... )' with 'memoryview( ... )',
which is incorrect for our cases, so these changes had to be done by hand and
a forward-compatibility class added.
The 'xrange' fixer was applied. Manual changes were minimal: a few case in
test strings and one use of 'range' as an identifer in the same scope as
where 'xrange' was converted to 'range'.
The "sets15" compat function, which provided backward compatibility for Python
versions prior to 2.2, was removed as no longer needed.
Diffstat (limited to 'test/option')
-rw-r--r-- | test/option/md5-chunksize.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option/md5-chunksize.py b/test/option/md5-chunksize.py index acd3492..375208d 100644 --- a/test/option/md5-chunksize.py +++ b/test/option/md5-chunksize.py @@ -47,8 +47,8 @@ f2 = env.B(target = 'f2.out', source = 'f2.in') Requires(f2, f1) """ % locals()) -test.write('f1.in', str(range(10))) -test.write('f2.in', str(range(100000))) +test.write('f1.in', str(list(range(10)))) +test.write('f2.in', str(list(range(100000)))) expected_stdout = test.wrap_stdout("""\ %(_python_)s build.py f1.out f1.in |