Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1893

[Python] test_primitive_serialization fails on Python 2.7.3

    XMLWordPrintableJSON

Details

    Description

      test_primitive_serialization fails on with the following error: Python 2.7.3

      str = <memory at 0x44dff28>
       
           def loads(str):
       >       file = StringIO(str)
      E       TypeError: expected read buffer, memoryview found
      

      More context:

           def test_primitive_serialization(large_memory_map):
               with pa.memory_map(large_memory_map, mode="r+") as mmap:
                   for obj in PRIMITIVE_OBJECTS:
                       serialization_roundtrip(obj, mmap)
      >               serialization_roundtrip(obj, mmap, pa.pandas_serialization_context)
      

      Attachments

        Issue Links

          Activity

            People

              wesm Wes McKinney
              uwe Uwe Korn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: