def METHOD_NAME(self):
    kwargs = {"strides": [2, 1], "dilation_rate": [2, 1]}
    with self.assertRaisesRegex(
        ValueError, r"""`strides > 1` not supported in conjunction"""
    ):
        keras.layers.SeparableConv2D(filters=1, kernel_size=2, **kwargs)