[ 
https://issues.apache.org/jira/browse/ARROW-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658924#comment-17658924
 ] 

Rok Mihevc commented on ARROW-1893:
-----------------------------------

This issue has been migrated to [issue 
#15633|https://github.com/apache/arrow/issues/15633] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> [Python] test_primitive_serialization fails on Python 2.7.3
> -----------------------------------------------------------
>
>                 Key: ARROW-1893
>                 URL: https://issues.apache.org/jira/browse/ARROW-1893
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Uwe Korn
>            Assignee: Wes McKinney
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.8.0
>
>
> {{test_primitive_serialization}} fails on with the following error: Python 
> 2.7.3
> {code}
> str = <memory at 0x44dff28>
>  
>      def loads(str):
>  >       file = StringIO(str)
> E       TypeError: expected read buffer, memoryview found
> {code}
> More context:
> {code}
>      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)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to