[Python-checkins] r46592 - python/trunk/Lib/test/string_tests.py
tim.peters
python-checkins at python.org
Thu Jun 1 15:56:28 CEST 2006
Author: tim.peters
Date: Thu Jun 1 15:56:26 2006
New Revision: 46592
Modified:
python/trunk/Lib/test/string_tests.py
Log:
Re-enable a new empty-string test added during the NFS sprint,
but disabled then because str and unicode strings gave different
results. The implementations were repaired later during the
sprint, but the new test remained disabled.
Modified: python/trunk/Lib/test/string_tests.py
==============================================================================
--- python/trunk/Lib/test/string_tests.py (original)
+++ python/trunk/Lib/test/string_tests.py Thu Jun 1 15:56:26 2006
@@ -494,12 +494,7 @@
# Operations on the empty string
EQ("", "", "replace", "", "")
-
- #EQ("A", "", "replace", "", "A")
- # That was the correct result; this is the result we actually get
- # now (for str, but not for unicode):
- #EQ("", "", "replace", "", "A")
-
+ EQ("A", "", "replace", "", "A")
EQ("", "", "replace", "A", "")
EQ("", "", "replace", "A", "A")
EQ("", "", "replace", "", "", 100)
More information about the Python-checkins
mailing list