Kaydet (Commit) e0243e24 authored tarafından Fred Drake's avatar Fred Drake

M.-A. Lemburg <mal@lemburg.com>:

Added test for Unicode string concatenation.
üst 49fd1077
......@@ -391,3 +391,11 @@ for encoding in (
print '*** codec for "%s" failed: %s' % (encoding, why)
print 'done.'
print 'Testing Unicode string concatenation...',
assert (u"abc" u"def") == u"abcdef"
assert ("abc" u"def") == u"abcdef"
assert (u"abc" "def") == u"abcdef"
assert (u"abc" u"def" "ghi") == u"abcdefghi"
assert ("abc" "def" u"ghi") == u"abcdefghi"
print 'done.'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment