(vector, pad_width, iaxis, kwargs)
| 1212 | |
| 1213 | def test_legacy_vector_functionality(): |
| 1214 | def _padwithtens(vector, pad_width, iaxis, kwargs): |
| 1215 | vector[:pad_width[0]] = 10 |
| 1216 | vector[-pad_width[1]:] = 10 |
| 1217 | |
| 1218 | a = np.arange(6).reshape(2, 3) |
| 1219 | a = np.pad(a, 2, _padwithtens) |
nothing calls this directly
no outgoing calls
no test coverage detected