commit | cc78e47bcd8fe1ce6d07407202e83f9132ff9e9d | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Nov 14 21:36:07 2000 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Nov 14 21:36:07 2000 +0000 |
tree | e6d0a2e6946c4715b4933ba36ec75ffc4f520417 | |
parent | 102e457a01bb10d3724c20464b919704ea30744d [diff] |
Verify that str(a) and repr(a) don't blow up (part of SF patch 102068).
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index 4a64bd6..087e65b 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py
@@ -84,8 +84,13 @@ 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: