[
https://issues.apache.org/jira/browse/LIVY-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808998#comment-16808998
]
Felix Cheung commented on LIVY-580:
-----------------------------------
thx
> Python 3 fails unicode test written for Python 2
> ------------------------------------------------
>
> Key: LIVY-580
> URL: https://issues.apache.org/jira/browse/LIVY-580
> Project: Livy
> Issue Type: Bug
> Components: Interpreter
> Affects Versions: 0.6
> Reporter: Marcelo Vanzin
> Priority: Major
>
> This is a twofer:
>
> 1. If "python" defaults to python 3, then the unit tests are running twice
> against python 3, and not testing python 2.
> 2. In that case, the extra "print unicode" test runs against python 3,
> instead of the target python 2, and fails, which may be pointing at some
> problem with Livy's unicode handling on python 3.
>
> {noformat}
> - should print unicode correctly *** FAILED *** (101 milliseconds)
> ExecuteSuccess(JObject(List((text/plain,JString(☺))))) did not equal
> ExecuteSuccess(JObject(List((text/plain,JString()))))
> (PythonInterpreterSpec.scala:272)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)