def METHOD_NAME(self):
    """Test that if the expand_fn is not "device", it is simply returned."""
    dev = DefaultQubit2()
    def f(tape):
        return tape
    out = _preprocess_expand_fn(f, dev, 10)
    assert out is f