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

numpy-svn@scip... numpy-svn@scip...
Sat Feb 20 20:51:21 CST 2010


Author: ptvirtan
Date: 2010-02-20 20:51:20 -0600 (Sat, 20 Feb 2010)
New Revision: 8216

Modified:
   trunk/numpy/core/tests/test_regression.py
Log:
3K: core: mark int('0xff',16) test as known failure on Python3 -- we don't anyway support that call signature for all integer types even on Py2

Modified: trunk/numpy/core/tests/test_regression.py
===================================================================
--- trunk/numpy/core/tests/test_regression.py	2010-02-21 02:51:05 UTC (rev 8215)
+++ trunk/numpy/core/tests/test_regression.py	2010-02-21 02:51:20 UTC (rev 8216)
@@ -136,6 +136,9 @@
         self.assertRaises(TypeError,np.dtype,
                               {'names':['a'],'formats':['foo']},align=1)
 
+    @dec.knownfailureif(sys.version_info[0] >= 3,
+                        "numpy.intp('0xff', 16) not supported on Py3, "
+                        "as it does not inherit from Python int")
     def test_intp(self,level=rlevel):
         """Ticket #99"""
         i_width = np.int_(0).nbytes*2 - 1



More information about the Numpy-svn mailing list