Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-580

Python 3 fails unicode test written for Python 2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.6
    • Fix Version/s: None
    • Component/s: Interpreter
    • Labels:
      None

      Description

      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.

       

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vanzin Marcelo Masiero Vanzin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: