def METHOD_NAME(self):
    """
    Checks that appropriate error is thrown when `wendow_len`
    is set to a non-positive number and/or a non-`int` value.
    """
    x = np.arange(1)
    # `window_len` isn't positive:
    with pytest.raises(ValueError) as err:
        strided_moving_window(x, window_len=0, stride=1)
    assert ("`window_len` must be a positive `int`.") == str(err.value)
    # `window_len` is `float`, not `int`:
    with pytest.raises(ValueError) as err:
        strided_moving_window(x, window_len=1.1, stride=1)
    assert ("`window_len` must be a positive `int`.") == str(err.value)