(self, kth_dtype)
| 3708 | |
| 3709 | @pytest.mark.parametrize("kth_dtype", np.typecodes["AllInteger"]) |
| 3710 | def test_argpartition_gh5524(self, kth_dtype): |
| 3711 | # A test for functionality of argpartition on lists. |
| 3712 | kth = np.array(1, dtype=kth_dtype)[()] |
| 3713 | d = [6, 7, 3, 2, 9, 0] |
| 3714 | p = np.argpartition(d, kth) |
| 3715 | self.assert_partitioned(np.array(d)[p], [1]) |
| 3716 | |
| 3717 | def test_flatten(self): |
| 3718 | x0 = np.array([[1, 2, 3], [4, 5, 6]], np.int32) |
nothing calls this directly
no test coverage detected