(self, dz, value, fill_value)
| 2812 | self.shapes = [(), (5,), (5,6,), (5,6,7,)] |
| 2813 | |
| 2814 | def compare_array_value(self, dz, value, fill_value): |
| 2815 | if value is not None: |
| 2816 | if fill_value: |
| 2817 | # Conversion is close to what np.full_like uses |
| 2818 | # but we may want to convert directly in the future |
| 2819 | # which may result in errors (where this does not). |
| 2820 | z = np.array(value).astype(dz.dtype) |
| 2821 | assert_(np.all(dz == z)) |
| 2822 | else: |
| 2823 | assert_(np.all(dz == value)) |
| 2824 | |
| 2825 | def check_like_function(self, like_function, value, fill_value=False): |
| 2826 | if fill_value: |
no test coverage detected