PyHamcrest icon indicating copy to clipboard operation
PyHamcrest copied to clipboard

Remove test_numpy_numeric_type_{complex,float,int} for compatibility with NumPy >= 1.24.0

Open martenwa opened this issue 1 year ago • 0 comments

Numerous aliases which were deprecated in NumPy 1.20.0 have finally been removed in NumPy 1.24.0 (see the NumPy 1.24 Release Notes). This causes the following tests to fail with NumPy >= 1.24.0:

tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_complex
tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_float
tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_int

Please remove these tests.

martenwa avatar Mar 27 '23 20:03 martenwa