[Numpy-svn] r4894 - trunk/numpy/core/tests

numpy-svn at scipy.org numpy-svn at scipy.org
Wed Mar 19 10:45:29 EDT 2008


Author: stefan
Date: 2008-03-19 09:45:16 -0500 (Wed, 19 Mar 2008)
New Revision: 4894

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
Fix another occurrence of intp in the regression tests.


Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2008-03-19 11:20:10 UTC (rev 4893)
+++ trunk/numpy/core/tests/test_regression.py	2008-03-19 14:45:16 UTC (rev 4894)
@@ -194,7 +194,7 @@
     def check_intp(self,level=rlevel):
         """Ticket #99"""
         i_width = np.int_(0).nbytes*2 - 1
-        np.intp('0x' + 'f'*i_width,16)
+        np.long('0x' + 'f'*i_width,16)
         self.failUnlessRaises(OverflowError,np.intp,'0x' + 'f'*(i_width+1),16)
         self.failUnlessRaises(ValueError,np.intp,'0x1',32)
         assert_equal(255,np.long('0xFF',16))




More information about the Numpy-svn mailing list