Skip to content

Commit

Permalink
MAINT: minor whitespace adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjereddy committed May 15, 2022
1 parent 7306040 commit d3c474b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scipy/sparse/tests/test_base.py
Expand Up @@ -1630,7 +1630,10 @@ def test_binop_custom_type_with_shape(self):
assert_equal(eval('B @ A'), "matrix on the right")

def test_dot_scalar(self):
M = self.spmatrix(array([[3,0,0],[0,1,0],[2,0,3.0],[2,3,0]]))
M = self.spmatrix(array([[3, 0, 0],
[0, 1, 0],
[2, 0, 3.0],
[2, 3, 0]]))
scalar = 10
actual = M.dot(scalar)
expected = M * scalar
Expand Down

0 comments on commit d3c474b

Please sign in to comment.