How would you feel about a PR for a matcher that checked if a value was `NaN` (for the numpy definition of `NaN`)? Perhaps something like `is_nan()` ? (and using `np.isnan` under the hood). NB By design `NaN != NaN` so `equal_to(np.nan)` wouldn't work here.
How would you feel about a PR for a matcher that checked if a value was
NaN(for the numpy definition ofNaN)?Perhaps something like
is_nan()? (and usingnp.isnanunder the hood).NB By design
NaN != NaNsoequal_to(np.nan)wouldn't work here.