Skip to content

Commit 03c693c

Browse files
fbourgeymroeschke
andauthored
Update pandas/tests/frame/methods/test_to_numpy.py
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent e735687 commit 03c693c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/frame/methods/test_to_numpy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,5 @@ def test_to_numpy_datetime_with_na(self):
7676
[np.nan, 8.64e04, 2.00e00],
7777
]
7878
)
79-
assert np.allclose(df.to_numpy(float, na_value=np.nan), arr, equal_nan=True)
79+
result = df.to_numpy(float, na_value=np.nan),
80+
tm.assert_numpy_array_equal(result, expected)

0 commit comments

Comments
 (0)