[Python-checkins] python/dist/src/Lib/test test_array.py,1.23,1.24
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Thu, 22 May 2003 06:29:18 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv25113/Lib/test
Modified Files:
test_array.py
Log Message:
Walter's last checkin also needs to work on doubles.
* Move new test_byteswap into FPTest.
* Remove extra lines at end of file.
Index: test_array.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_array.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** test_array.py 22 May 2003 13:15:31 -0000 1.23
--- test_array.py 22 May 2003 13:29:15 -0000 1.24
***************
*** 845,852 ****
self.assertAlmostEqual(entry1, entry2)
- class FloatTest(FPTest):
- typecode = 'f'
- minitemsize = 4
-
def test_byteswap(self):
a = array.array(self.typecode, self.example)
--- 845,848 ----
***************
*** 865,868 ****
--- 861,867 ----
self.assertEqual(a, b)
+ class FloatTest(FPTest):
+ typecode = 'f'
+ minitemsize = 4
tests.append(FloatTest)
***************
*** 877,881 ****
if __name__=="__main__":
test_main()
-
-
- #main()
--- 876,877 ----