diff DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/matrixlib/tests/test_numeric.py @ 87:2a2c65a20a8b

Add Python libs and headers
author Chris Cannam
date Wed, 25 Feb 2015 14:05:22 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/matrixlib/tests/test_numeric.py	Wed Feb 25 14:05:22 2015 +0000
@@ -0,0 +1,10 @@
+from __future__ import division, absolute_import, print_function
+
+from numpy.testing import assert_equal, TestCase
+from numpy.core import ones
+from numpy import matrix
+
+class TestDot(TestCase):
+    def test_matscalar(self):
+        b1 = matrix(ones((3, 3), dtype=complex))
+        assert_equal(b1*1.0, b1)