Skip to content

Commit 296bf26

Browse files
author
John Garrett
committed
tests: np.NaN --> np.nan
1 parent b0e9009 commit 296bf26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_clean_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_clean_xy():
1616
sure that the data is sorted by x, and make sure repeated values are
1717
removed."""
1818

19-
xx1 = np.array([3., 4., np.NaN, 1., 2.])
19+
xx1 = np.array([3., 4., np.nan, 1., 2.])
2020
yy1 = np.array([1., 2., 3., 4., 5.])
2121

2222
xx2, yy2 = qc.clean_xy(xx1, yy1)
@@ -30,7 +30,7 @@ def test_clean_xy_matrix():
3030
removed, make sure that the data is sorted by x, and make sure repeated
3131
values are removed."""
3232

33-
xx1 = np.array([3., 4., np.NaN, 1., 2.])
33+
xx1 = np.array([3., 4., np.nan, 1., 2.])
3434
yy1 = np.array([1., 2., 3., 4., 5.])
3535

3636
mat1 = qc.xy_to_matrix(xx1, yy1)

0 commit comments

Comments
 (0)