def METHOD_NAME(self, bad_input):
    """Verifies that a TypeError is raised when the input to qwc_rotations is not a list of
    single Pauli operators."""
    assert pytest.raises(TypeError, qwc_rotation, bad_input)