[
https://issues.apache.org/jira/browse/LIVY-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyorgy Gal updated LIVY-580:
----------------------------
Fix Version/s: 0.10.0
(was: 0.9.0)
This issue has been moved to the 0.10.0 release as part of a bulk update. If
you feel this is moved out inappropriately, feel free to provide justification
and reset the Fix Version to 0.9.0.
> 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 Masiero Vanzin
> Priority: Major
> Fix For: 0.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)