Skip to content

Commit

Permalink
fix whitespace in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Sep 11, 2024
1 parent c2d4aed commit 444eb9e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1200,15 +1200,15 @@ def _calculate_transport_dep_abrasion_rate(alpha, k, rhos, rhow, D, tautaur):
>>> _calculate_transport_dep_abrasion_rate(
... np.ones(5), 55, np.ones(5), 1000, np.ones(5), np.ones(5)
... )
array([ 1., 1., 1., 1., 1.])
array([1., 1., 1., 1., 1.])
>>> _calculate_transport_dep_abrasion_rate(
... np.zeros(1), 55, np.ones(1), 1000, np.ones(1), np.ones(1)
... )
array([ 0.])
array([0.])
>>> _calculate_transport_dep_abrasion_rate(
... np.ones(1), 8, np.array([2.0]), 1, np.ones(1), np.array([4.3])
... )
array([ 9.])
array([9.])
>>> with pytest.raises(ValueError):
... _calculate_transport_dep_abrasion_rate(
... np.ones(1), -8, np.array([2.0]), 1, np.ones(1), np.array([4.3])
Expand Down

0 comments on commit 444eb9e

Please sign in to comment.