summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/test_array.py5
1 files changed, 5 insertions, 0 deletions
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 @@ 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: