diff options
| author | Tim Peters <tim.peters@gmail.com> | 2006-05-24 21:00:45 (GMT) | 
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2006-05-24 21:00:45 (GMT) | 
| commit | f4049089c595864138fe2452694ac8a75ab32d69 (patch) | |
| tree | ee42e7c4c3936e1050f3a5146e58249cebbdf0ce /Lib/test/string_tests.py | |
| parent | f47b1cd839d9fbf58d51cf5f934d8d18e02cb356 (diff) | |
| download | cpython-f4049089c595864138fe2452694ac8a75ab32d69.zip cpython-f4049089c595864138fe2452694ac8a75ab32d69.tar.gz cpython-f4049089c595864138fe2452694ac8a75ab32d69.tar.bz2  | |
Disable the damn empty-string replace test -- it can't
be make to pass now for unicode if it passes for str, or
vice versa.
Diffstat (limited to 'Lib/test/string_tests.py')
| -rw-r--r-- | Lib/test/string_tests.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index e363e3f..3a5fbfe 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -383,8 +383,8 @@ class CommonTest(unittest.TestCase):          #EQ("A", "", "replace", "", "A")          # That was the correct result; this is the result we actually get -        # now: -        EQ("", "", "replace", "", "A") +        # now (for str, but not for unicode): +        #EQ("", "", "replace", "", "A")          EQ("", "", "replace", "A", "")          EQ("", "", "replace", "A", "A")  | 
