def test_contains_nan():
    arr = np.random.random(100)
    assert not contains_nan(arr)
    arr[0] = np.nan
    assert contains_nan(arr)
a.__abs__() <==> abs(a)
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/utils/tests/test_general.py/test_contains_nan--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/util/arrays.py/Array.__abs__