You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Felix Cheung (JIRA)" <ji...@apache.org> on 2019/04/03 18:13:00 UTC

[jira] [Commented] (LIVY-580) Python 3 fails unicode test written for Python 2

    [ 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)