[Python-checkins] r46198 - python/trunk/Lib/test/string_tests.py

Tim Peters tim.peters at gmail.com
Thu May 25 01:04:46 CEST 2006


> Author: andrew.dalke
> Date: Wed May 24 20:55:37 2006
> New Revision: 46198
>
> Modified:
>    python/trunk/Lib/test/string_tests.py
> Log:
> 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.

Please note that it's never OK to check in a failing test to the trunk
or to a release development branch (like the 2.4 maintenance branch).
For now, I simply commented out that new test.


More information about the Python-checkins mailing list