Skip to content

NaN matcher for np.nan #15

Description

@danodonovan

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions