]> granicus.if.org Git - python/commitdiff
Now that Marc-Andre has retracted unistr(), remove the tests.
authorGuido van Rossum <guido@python.org>
Fri, 19 Jan 2001 21:57:52 +0000 (21:57 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 19 Jan 2001 21:57:52 +0000 (21:57 +0000)
Lib/test/output/test_builtin
Lib/test/test_b2.py

index 29c6f862f9cabd2f430efe8dc76451da88bb04ec..1c3b69c8380f3741c1be378e7a2985ad6f827851 100644 (file)
@@ -45,7 +45,6 @@ repr
 round
 setattr
 str
-unistr
 tuple
 type
 vars
index 3af5e66a01e80f9dc1de94529a7454ab1f62348a..28022153b560818fcbbf10b10775255cbae3c55a 100644 (file)
@@ -214,17 +214,6 @@ if str(()) != '()': raise TestFailed, 'str(())'
 if str([]) != '[]': raise TestFailed, 'str([])'
 if str({}) != '{}': raise TestFailed, 'str({})'
 
-print 'unistr'
-if unistr('') <> u'': raise TestFailed, 'unistr(\'\')'
-if unistr('a') <> u'a': raise TestFailed, 'unistr(\'a\')'
-if unistr(u'') <> u'': raise TestFailed, 'unistr(u\'\')'
-if unistr(u'a') <> u'a': raise TestFailed, 'unistr(u\'a\')'
-if unistr(0) <> u'0': raise TestFailed, 'unistr(0)'
-if unistr(0L) <> u'0': raise TestFailed, 'unistr(0L)'
-if unistr(()) <> u'()': raise TestFailed, 'unistr(())'
-if unistr([]) <> u'[]': raise TestFailed, 'unistr([])'
-if unistr({}) <> u'{}': raise TestFailed, 'unistr({})'
-
 print 'tuple'
 if tuple(()) != (): raise TestFailed, 'tuple(())'
 if tuple((0, 1, 2, 3)) != (0, 1, 2, 3): raise TestFailed, 'tuple((0, 1, 2, 3))'