Commit cc78e47b authored by Tim Peters's avatar Tim Peters

Verify that str(a) and repr(a) don't blow up (part of SF patch 102068).

parent 102e457a
......@@ -84,8 +84,13 @@ def testtype(type, example):
f = open(TESTFN, 'w')
a.tofile(f)
f.close()
# This block is just to verify that the operations don't blow up.
a.tolist()
a.tostring()
repr(a)
str(a)
if verbose:
print 'array of %s converted to a list: ' % a.typecode, a.tolist()
if verbose:
......
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