From cc78e47bcd8fe1ce6d07407202e83f9132ff9e9d Mon Sep 17 00:00:00 2001
From: Tim Peters <tim.peters@gmail.com>
Date: Tue, 14 Nov 2000 21:36:07 +0000
Subject: Verify that str(a) and repr(a) don't blow up (part of SF patch
 102068).

---
 Lib/test/test_array.py | 5 +++++
 1 file changed, 5 insertions(+)

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:
-- 
cgit v0.12

