mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
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.
This commit is contained in:
parent
44bd9861d3
commit
80a18f0f9c
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue