(self)
| 3118 | assert_raises(ValueError, interp, [], [], [3, 4, 5]) |
| 3119 | |
| 3120 | def test_empty_x(self): |
| 3121 | # gh-30316 |
| 3122 | assert_array_equal(interp([], [], []), np.array([], dtype=np.float64)) |
| 3123 | assert_array_equal(interp([], [1, 2], [3, 4]), np.array([], dtype=np.float64)) |
| 3124 | assert_array_equal( |
| 3125 | interp([], [], [], period=360), np.array([], dtype=np.float64)) |
| 3126 | assert_array_equal( |
| 3127 | interp([], [1, 2], [3 + 4j, 5 + 6j]), np.array([], dtype=np.complex128)) |
| 3128 | |
| 3129 | def test_basic(self): |
| 3130 | x = np.linspace(0, 1, 5) |
nothing calls this directly
no test coverage detected