]> granicus.if.org Git - python/commit
Added a slew of test for string replace, based various corner cases from
authorAndrew Dalke <dalke@dalkescientific.com>
Wed, 24 May 2006 18:55:37 +0000 (18:55 +0000)
committerAndrew Dalke <dalke@dalkescientific.com>
Wed, 24 May 2006 18:55:37 +0000 (18:55 +0000)
commite5488ec01e38e7edfb27ebddd410ec55a3120777
tree2a0fdf49e3fc3464b8b5c47e0227d16c5eff7fe6
parent347ee277aa80a98d61d85fef6d1b8f8467ad7eaf
Added a slew of test for string replace, based various corner cases from
the Need For Speed sprint coding.  Includes commented out overflow tests
which will be uncommented once the code is fixed.

This test will break the 8-bit string tests because
    "".replace("", "A") == "" when it should == "A"

We have a fix for it, which should be added tomorrow.
Lib/test/string_tests.py