(self)
| 2924 | self.check_like_function(np.empty_like, None) |
| 2925 | |
| 2926 | def test_filled_like(self): |
| 2927 | self.check_like_function(np.full_like, 0, True) |
| 2928 | self.check_like_function(np.full_like, 1, True) |
| 2929 | self.check_like_function(np.full_like, 1000, True) |
| 2930 | self.check_like_function(np.full_like, 123.456, True) |
| 2931 | # Inf to integer casts cause invalid-value errors: ignore them. |
| 2932 | with np.errstate(invalid="ignore"): |
| 2933 | self.check_like_function(np.full_like, np.inf, True) |
| 2934 | |
| 2935 | @pytest.mark.parametrize('likefunc', [np.empty_like, np.full_like, |
| 2936 | np.zeros_like, np.ones_like]) |
nothing calls this directly
no test coverage detected