mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
f47b1cd839
commit
f4049089c5
|
@ -383,8 +383,8 @@ class CommonTest(unittest.TestCase):
|
||||||
|
|
||||||
#EQ("A", "", "replace", "", "A")
|
#EQ("A", "", "replace", "", "A")
|
||||||
# That was the correct result; this is the result we actually get
|
# That was the correct result; this is the result we actually get
|
||||||
# now:
|
# now (for str, but not for unicode):
|
||||||
EQ("", "", "replace", "", "A")
|
#EQ("", "", "replace", "", "A")
|
||||||
|
|
||||||
EQ("", "", "replace", "A", "")
|
EQ("", "", "replace", "A", "")
|
||||||
EQ("", "", "replace", "A", "A")
|
EQ("", "", "replace", "A", "A")
|
||||||
|
|
Loading…
Reference in New Issue