Changed
- Passing
Noneto comparison functions likegreater(),less(), etc. used to raise an exception, which caused a test failure and stopped the test.- That's unexpected with a check function.
- So now the check fails with a meaningful error message and continues with the rest of the test.
- (typing) Allow numpy floats with comparison functions to pass mypy.