def test_linear():
    xs = [1, 5, True, None, 'foo']
    for x in xs:
        assert(x == activations.linear(x))
This function does no input validation, it just returns the thing
dataset/ETHPy150Open fchollet/keras/tests/keras/test_activations.py/test_linear