summaryrefslogtreecommitdiff
path: root/Lib/test/string_tests.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-06-01 13:56:26 +0000
committerTim Peters <tim.peters@gmail.com>2006-06-01 13:56:26 +0000
commit80a18f0f9c22e8f1cd7592b3ea0a2e6d3683169e (patch)
tree7f4a4bd2af97ba16a47cf043a88cdce94c2ae924 /Lib/test/string_tests.py
parent44bd9861d37585374df3b709dfbb6e0b7a2864a4 (diff)
downloadcpython-git-80a18f0f9c22e8f1cd7592b3ea0a2e6d3683169e.tar.gz
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.
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r--Lib/test/string_tests.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py
index 8962c1f07a..aaa2dc20a9 100644
--- a/Lib/test/string_tests.py
+++ b/Lib/test/string_tests.py
@@ -494,12 +494,7 @@ class CommonTest(unittest.TestCase):
# 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)