Skip to content

Commit f0ef29c

Browse files
Update tests/v4/test_advection.py
Co-authored-by: Nick Hodgskin <36369090+VeckoTheGecko@users.noreply.github.com>
1 parent 8517bf6 commit f0ef29c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/v4/test_advection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def SubmergeParticle(particle, fieldset, time): # pragma: no cover
133133
@pytest.mark.parametrize("u", [-0.3, np.array(0.2)])
134134
@pytest.mark.parametrize("v", [0.2, np.array(1)])
135135
@pytest.mark.parametrize("w", [None, -0.2, np.array(0.7)])
136-
def test_length1dimensions(u, v, w):
136+
def test_length1dimensions(u, v, w): # TODO: Refactor this test to be more readable (and isolate test setup)
137137
(lon, xdim) = (np.linspace(-10, 10, 21), 21) if isinstance(u, np.ndarray) else (np.array([0]), 1)
138138
(lat, ydim) = (np.linspace(-15, 15, 31), 31) if isinstance(v, np.ndarray) else (np.array([-4]), 1)
139139
(depth, zdim) = (

0 commit comments

Comments
 (0)