libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Milosavljevic (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LIBCLOUD-924) test_consume_std*_chunk_contains_part_of_multi_byte_utf8_character - test fails
Date Fri, 16 Jun 2017 21:02:00 GMT

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

Danny Milosavljevic edited comment on LIBCLOUD-924 at 6/16/17 9:01 PM:
-----------------------------------------------------------------------

To fix, substitute {{'\xF0', '\x90', '\x8D', '\x88'}} by {{b'\xF0', b'\x90', b'\x8D', b'\x88'}}
and also {{'\xF0\x90\x8D\x88'}} by {{b'\xF0\x90\x8D\x88"}} in {{libcloud/test/compute/test_ssh_client.py}}


was (Author: dannym):
To fix, substitute {{'\xF0', '\x90', '\x8D', '\x88'}} by {{b'\xF0', b'\x90', b'\x8D', b'\x88'}}
and also {{'\xF0\x90\x8D\x88'}} by {{b'\xF0\x90\x8D\x88"}} in libcloud/test/compute/test_ssh_client.py

> test_consume_std*_chunk_contains_part_of_multi_byte_utf8_character - test fails
> -------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-924
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-924
>             Project: Libcloud
>          Issue Type: Test
>          Components: Compute
>            Reporter: Danny Milosavljevic
>            Priority: Minor
>
> These tests make the channel receive the Unicode codepoints U+00F0 U+0090 U+008D U+0088
and then encode the received stdout (respective stderr) to utf-8 and then act all surprised
that this utf8 string is not equal to an Unicode string (errr... it's not even the same class...).
I don't get it what that's supposed to be for.
> Version: 2.0.0.
> Python version: 3.5.3.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message