diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-06-01 13:56:26 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-06-01 13:56:26 (GMT) |
commit | 80a18f0f9c22e8f1cd7592b3ea0a2e6d3683169e (patch) | |
tree | 7f4a4bd2af97ba16a47cf043a88cdce94c2ae924 /Lib | |
parent | 44bd9861d37585374df3b709dfbb6e0b7a2864a4 (diff) | |
download | cpython-80a18f0f9c22e8f1cd7592b3ea0a2e6d3683169e.zip cpython-80a18f0f9c22e8f1cd7592b3ea0a2e6d3683169e.tar.gz cpython-80a18f0f9c22e8f1cd7592b3ea0a2e6d3683169e.tar.bz2 |
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')
-rw-r--r-- | Lib/test/string_tests.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 8962c1f..aaa2dc2 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) |