Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a5f91f

Browse files
committed
Now that Marc-Andre has retracted unistr(), remove the tests.
1 parent 48eb9cd commit 0a5f91f

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

Lib/test/output/test_builtin

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ repr
4545
round
4646
setattr
4747
str
48-
unistr
4948
tuple
5049
type
5150
vars

Lib/test/test_b2.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -214,17 +214,6 @@ def __getitem__(self, i):
214214
if str([]) != '[]': raise TestFailed, 'str([])'
215215
if str({}) != '{}': raise TestFailed, 'str({})'
216216

217-
print 'unistr'
218-
if unistr('') <> u'': raise TestFailed, 'unistr(\'\')'
219-
if unistr('a') <> u'a': raise TestFailed, 'unistr(\'a\')'
220-
if unistr(u'') <> u'': raise TestFailed, 'unistr(u\'\')'
221-
if unistr(u'a') <> u'a': raise TestFailed, 'unistr(u\'a\')'
222-
if unistr(0) <> u'0': raise TestFailed, 'unistr(0)'
223-
if unistr(0L) <> u'0': raise TestFailed, 'unistr(0L)'
224-
if unistr(()) <> u'()': raise TestFailed, 'unistr(())'
225-
if unistr([]) <> u'[]': raise TestFailed, 'unistr([])'
226-
if unistr({}) <> u'{}': raise TestFailed, 'unistr({})'
227-
228217
print 'tuple'
229218
if tuple(()) != (): raise TestFailed, 'tuple(())'
230219
if tuple((0, 1, 2, 3)) != (0, 1, 2, 3): raise TestFailed, 'tuple((0, 1, 2, 3))'

0 commit comments

Comments
 (0)