summaryrefslogtreecommitdiff
path: root/numpy/matrixlib/tests/test_numeric.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-09-18 09:59:24 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-09-18 09:59:24 +0000
commit599b0f1e83494c56d01ac24d7605bc3e8da0cd6e (patch)
tree02c396f2047e71761d9ef11413cdcde376cbe5c8 /numpy/matrixlib/tests/test_numeric.py
parent957cd7931740bce0ed9ffb12b47afde6c089dadf (diff)
downloadnumpy-599b0f1e83494c56d01ac24d7605bc3e8da0cd6e.tar.gz
Rename matrx to matrixlib.
I forgot to commit the name change suggested by Stefan. You need to clean build/install directory when updating to this version.
Diffstat (limited to 'numpy/matrixlib/tests/test_numeric.py')
-rw-r--r--numpy/matrixlib/tests/test_numeric.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/numpy/matrixlib/tests/test_numeric.py b/numpy/matrixlib/tests/test_numeric.py
new file mode 100644
index 000000000..0b96bb05a
--- /dev/null
+++ b/numpy/matrixlib/tests/test_numeric.py
@@ -0,0 +1,8 @@
+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)