summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unicode.py
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-11-20 15:17:25 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-11-20 15:17:25 (GMT)
commit0c4d8d05a8b10c8c611eae0fbe70898050f12ad4 (patch)
tree8f149a365548207fc279143d599306890f2f39c0 /Lib/test/test_unicode.py
parent4586d2c91c812910d0aae7dfdca75741aacd72b2 (diff)
downloadcpython-0c4d8d05a8b10c8c611eae0fbe70898050f12ad4.zip
cpython-0c4d8d05a8b10c8c611eae0fbe70898050f12ad4.tar.gz
cpython-0c4d8d05a8b10c8c611eae0fbe70898050f12ad4.tar.bz2
Fix for bug #480188: printing unicode objects
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r--Lib/test/test_unicode.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index eff11cf..b859fbb 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -644,3 +644,16 @@ verify((u"abc" "def") == u"abcdef")
verify((u"abc" u"def" "ghi") == u"abcdefghi")
verify(("abc" "def" u"ghi") == u"abcdefghi")
print 'done.'
+
+print 'Testing Unicode printing...',
+print u'abc'
+print u'abc', u'def'
+print u'abc', 'def'
+print 'abc', u'def'
+print u'abc\n'
+print u'abc\n',
+print u'abc\n',
+print u'def\n'
+print u'def\n'
+print 'done.'
+