(
locations: Sequence[float], steepness: Union[float, Sequence[float]], error_msg: str
)
| 545 | ], |
| 546 | ) |
| 547 | def test_changepoints_init_fail( |
| 548 | locations: Sequence[float], steepness: Union[float, Sequence[float]], error_msg: str |
| 549 | ) -> None: |
| 550 | kernels: Sequence[Kernel] = [ |
| 551 | Matern12(), |
| 552 | Linear(), |
| 553 | Matern32(), |
| 554 | ] |
| 555 | with pytest.raises(ValueError, match=error_msg): |
| 556 | ChangePoints(kernels, locations, steepness) |
| 557 | |
| 558 | |
| 559 | @check_shapes( |
nothing calls this directly
no test coverage detected
searching dependent graphs…