Closed unnonouno closed 4 years ago
Thank you for a comment. Sure. I'll add some tests to simple.py
and check the test.
I wrote brief test cases which covers all comparison operators. Is it enough? I also can check all combination of operators and types in dtypelike (too much?).
Thanks @unnonouno.
Thank you!!
I sometimes want to check
dtype
like this:Based on the source code, all comparison operators support
DtypeLike
. https://github.com/numpy/numpy/blob/master/numpy/core/src/multiarray/descriptor.c#L3167