Skip to content

Commit

Permalink
fix settings for row tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed May 27, 2024
1 parent 6078a3d commit 7bf0046
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_matrix_rows.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def test_sparse_stats(tensor):
assert tots.numpy()[mask] == approx(sums.numpy()[mask])


@settings(deadline=500, suppress_health_check=[HealthCheck.too_slow])
@given(sparse_tensors())
def test_sparse_mean_center(tensor):
nr, nc = tensor.shape
Expand All @@ -54,7 +55,7 @@ def test_sparse_mean_center(tensor):
assert nr == approx(tr - means[i].numpy())


@settings(deadline=500)
@settings(deadline=500, suppress_health_check=[HealthCheck.too_slow])
@given(sparse_tensors())
def test_sparse_unit_norm(tensor):
nr, nc = tensor.shape
Expand Down

0 comments on commit 7bf0046

Please sign in to comment.