Skip to content

Commit 0ea6cc6

Browse files
committed
Remove obsolete test
Now that Field.__init__ has explicit kwargs, no need to test
1 parent 26f8de6 commit 0ea6cc6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/test_fieldset.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,6 @@ def test_fieldset_from_data(xdim, ydim):
9292
assert np.allclose(fieldset.V.data[0, :], data["V"], rtol=1e-12)
9393

9494

95-
def test_fieldset_extra_syntax():
96-
"""Simple test for fieldset initialisation from data."""
97-
data, dimensions = generate_fieldset_data(10, 10)
98-
99-
with pytest.raises(SyntaxError):
100-
FieldSet.from_data(data, dimensions, unknown_keyword=5)
101-
102-
10395
@pytest.mark.v4remove
10496
@pytest.mark.xfail(reason="vmin and vmax were removed as arguments")
10597
def test_fieldset_vmin_vmax():

0 commit comments

Comments
 (0)