Skip to content

Commit

Permalink
fixed a bit of lint in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBarker-NOAA committed Mar 10, 2024
1 parent 1816dfe commit 9e14a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py_gd/test/test_gd.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,14 @@ def test_asn2array():
"""
arr = asn2array([(1, 2), (3, 4), (5, 6)], dtype=np.intc)

assert type(arr) == np.ndarray
assert isinstance(arr, np.ndarray)
assert arr.shape == (3, 2)
assert arr.dtype == np.intc


def test_asn2array_fail():
"""
check if it fails when wrong imput is used
check if it fails when wrong input is used
"""
with pytest.raises(ValueError):
_arr = asn2array([(1, 2, 3), (3, 4, 5), (5, 6, 7)], dtype=np.intc) # noqa: F841
Expand Down

0 comments on commit 9e14a32

Please sign in to comment.