libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Milosavljevic (JIRA)" <>
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:01:00 GMT


Danny Milosavljevic edited comment on LIBCLOUD-924 at 6/16/17 9:00 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/

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\\x8Db'\\x88"}} in libcloud/test/compute/

> test_consume_std*_chunk_contains_part_of_multi_byte_utf8_character - test fails
> -------------------------------------------------------------------------------
>                 Key: LIBCLOUD-924
>                 URL:
>             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

View raw message