summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-19 21:57:52 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-19 21:57:52 (GMT)
commit0a5f91f1d98d831e1866af2f7190d41c94f6ba98 (patch)
tree2d97f7d9a799f355baafb08199e72ea645af7197 /Lib
parent48eb9cd62fefcf8cc93416512f15c913f55331bd (diff)
downloadcpython-0a5f91f1d98d831e1866af2f7190d41c94f6ba98.zip
cpython-0a5f91f1d98d831e1866af2f7190d41c94f6ba98.tar.gz
cpython-0a5f91f1d98d831e1866af2f7190d41c94f6ba98.tar.bz2
Now that Marc-Andre has retracted unistr(), remove the tests.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/output/test_builtin1
-rw-r--r--Lib/test/test_b2.py11
2 files changed, 0 insertions, 12 deletions
diff --git a/Lib/test/output/test_builtin b/Lib/test/output/test_builtin
index 29c6f86..1c3b69c 100644
--- a/Lib/test/output/test_builtin
+++ b/Lib/test/output/test_builtin
@@ -45,7 +45,6 @@ repr
round
setattr
str
-unistr
tuple
type
vars
diff --git a/Lib/test/test_b2.py b/Lib/test/test_b2.py
index 3af5e66..2802215 100644
--- a/Lib/test/test_b2.py
+++ b/Lib/test/test_b2.py
@@ -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))'