Skip to content

Commit 803d00b

Browse files
rikardnisuruf
andauthored
Update symengine/tests/test_sympy_conv.py
Co-authored-by: Isuru Fernando <[email protected]>
1 parent a65af1c commit 803d00b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

symengine/tests/test_sympy_conv.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,5 @@ def test_construct_dense_matrix():
790790
# Test for issue #347
791791
A = sympy.Matrix([[1, 2], [3, 5]])
792792
B = DenseMatrix(A)
793-
assert B.rows == 2
794-
assert B.cols == 2
795-
assert B[0, 0] == 1
796-
assert B[0, 1] == 2
797-
assert B[1, 0] == 3
798-
assert B[1, 1] == 5
793+
assert B.shape == (2, 2)
794+
assert list(B) == [1, 2, 3, 5]

0 commit comments

Comments
 (0)