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

This commit is contained in:
Tim Peters 2000-11-14 21:36:07 +00:00
parent 102e457a01
commit cc78e47bcd
1 changed files with 5 additions and 0 deletions

View File

@ -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: