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

Python 3 fails unicode test written for Python 2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6
    • 0.9.0
    • Interpreter
    • 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

            Unassigned Unassigned
            vanzin Marcelo Masiero Vanzin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m