Verify that str(a) and repr(a) don't blow up (part of SF patch 102068).
This commit is contained in:
parent
102e457a01
commit
cc78e47bcd
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue