Skip to content

Commit

Permalink
actually fixed trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
SamLubelsky authored and oscarbenjamin committed Apr 4, 2024
1 parent 0f33e39 commit 3db471d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sympy/matrices/expressions/tests/test_matexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ def test_numpy_conversion():
except ImportError:
skip('NumPy must be available to test creating matrices from ndarrays')
A = MatrixSymbol('A', 2, 2)
np_array = array([[MatrixElement(A, 0, 0), MatrixElement(A, 1, 0)],
[MatrixElement(A, 0, 1), MatrixElement(A, 1, 1)]])
np_array = array([[MatrixElement(A, 0, 0), MatrixElement(A, 1, 0)],
[MatrixElement(A, 0, 1), MatrixElement(A, 1, 1)]])
assert array_equal(array(A), np_array)
assert array_equal(array(A, copy=True), np_array)
#raises(TypeError, lambda: array(A, copy=False)) TODO: Uncomment this whenever copy variable properly passes to __array__
Expand Down

0 comments on commit 3db471d

Please sign in to comment.