Skip to content

Commit d93a6cf

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a04b56a commit d93a6cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sparse/tests/test_backends.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def test_backend_contex_manager(backend):
1212

1313
if backend == sparse.BackendType.Finch:
1414
import finch
15+
1516
def storage():
1617
return finch.Storage(finch.Dense(finch.SparseList(finch.SparseList(finch.Element(0.0)))), order="C")
1718

@@ -32,6 +33,7 @@ def test_finch_backend():
3233

3334
with sparse.Backend(backend=sparse.BackendType.Finch):
3435
import finch
36+
3537
finch_dense = finch.Tensor(np_eye)
3638

3739
assert np.shares_memory(finch_dense.todense(), np_eye)

0 commit comments

Comments
 (0)