[Python-checkins] CVS: python/dist/src/Lib/test test_array.py,1.10,1.11

Tim Peters python-dev@python.org
Tue, 14 Nov 2000 13:36:09 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv1768/python/dist/src/Lib/test

Modified Files:
	test_array.py 
Log Message:
Verify that str(a) and repr(a) don't blow up (part of SF patch 102068).


Index: test_array.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_array.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** test_array.py	2000/10/23 17:22:07	1.10
--- test_array.py	2000/11/14 21:36:07	1.11
***************
*** 85,90 ****
--- 85,95 ----
      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()