def test_jsarray_recursion():

    ja = jstypes.JSArray()
    ja2 = jstypes.JSArray()

    ja.elements = [ja2]
    ja2.elements = [ja]

    print ja.output()
    assert "(recursion)" in ja.output()

    print ja.get_literal_value()
    assert "(recursion)" in ja.get_literal_value()
Returns the proper null SRID depending on the GEOS version.
dataset/ETHPy150Open mozilla/app-validator/tests/js/test_jstypes.py/test_jsarray_recursion--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/geos/tests/test_geos.py/GEOSTest.null_srid