Message1510
After figuring out that the affected method in this case is __mod__ fixing the problem was pretty easy. The patch is available at http://jython.org/patches/1671304 and it includes following test added to Lib/test/test_str2unicode.py.
def test_string_formatting(self):
self.assertEquals(unicode, type('%s' % u'x'))
self.assertEquals(unicode, type('%s %s' % (u'x', 'y')))
(I also replaced few tabs with spaces in Lib/test/test_str2unicode.py. Hope that's ok. If not, I won't touch them in the future.) |
|
| Date |
User |
Action |
Args |
| 2008-02-20 17:17:45 | admin | link | issue1671134 messages |
| 2008-02-20 17:17:45 | admin | create | |
|