def test_invalid_list_comprehension():
 cant_compile(u'(genexpr x [])')
 cant_compile(u'(genexpr [x [1 2 3 4]] x)')
 cant_compile(u'(list-comp None [])')
 cant_compile(u'(list-comp [x [1 2 3]] x)')

def test_invalid_list_comprehension ( ) : cant_compile ( u'(genexpr x [])' ) cant_compile ( u'(genexpr [x [1 2 3 4]] x)' ) cant_compile ( u'(list-comp None [])' ) cant_compile ( u'(list-comp [x [1 2 3]] x)' )
ensure that invalid list comprehensions do not break the compiler .