Kaydet (Commit) 0a5f91f1 authored tarafından Guido van Rossum's avatar Guido van Rossum

Now that Marc-Andre has retracted unistr(), remove the tests.

üst 48eb9cd6
......@@ -45,7 +45,6 @@ repr
round
setattr
str
unistr
tuple
type
vars
......
......@@ -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))'
......
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