def test_wrap_nested_expr():
 wrapped = wrap_value(HyExpression([long_type(0)]))
 assert (type(wrapped) == HyExpression)
 assert (type(wrapped[0]) == HyInteger)
 assert (wrapped == HyExpression([HyInteger(0)]))

def test_wrap_nested_expr ( ) : wrapped = wrap_value ( HyExpression ( [ long_type ( 0 ) ] ) ) assert ( type ( wrapped ) == HyExpression ) assert ( type ( wrapped [ 0 ] ) == HyInteger ) assert ( wrapped == HyExpression ( [ HyInteger ( 0 ) ] ) )
test conversion of hyexpressions with embedded non-hyobjects .