Il 16/02/15 10:36, Marco Nenciarini ha scritto:
> Hi Brian,
> 
> Il 15/02/15 23:26, Brian May ha scritto:
>> Attached is a patch to fix this.
>>
>> I have not attempted to update the standards version.
>>
>> I also have not attempted to update the git repository, if you want I can 
>> redo the change using git as a reference, and commit the changes to git also.
>>
>> I plan to upload this tomorrow as a NMU. It will get stuck in new for a 
>> while, so you can raise any objections if I have done anything wrong.
>>
> 
> thanks for the patch.
> I will upload this today unless I found issues.
> 

I've found two issues with unit tests included in version 0.26.1 which I was 
pushing at the same time.

Python 2.7 tests fail with

-----------------------------

prompt = '\u043f\u0440\u0438\u0432\u0435\u0442? (y/n)'

    def safe_input(prompt):
        """
        Prompts user for input. Correctly handles prompt message encoding.
        """

        if sys.version_info < (3,0):
            if isinstance(prompt, compat.text_type):
                # Python 2.x: unicode →  bytes
                encoding = locale.getpreferredencoding() or 'utf-8'
>               prompt = prompt.encode(encoding)
E               UnicodeEncodeError: 'ascii' codec can't encode characters in 
position 0-5: ordinal not in range(128)

-----------------------------

and python 3.4 tests fail because they depends from py.test filename (which is 
py.test-3.4 in this case)

I'll try to fix them this evening, but if I fail doing that I'll upload a 
0.25.0-2 tomorrow.

Regards,
Marco

-- 
---------------------------------------------------------------------
|    Marco Nenciarini    | Debian/GNU Linux Developer - Plug Member |
| mnen...@prato.linux.it | http://www.prato.linux.it/~mnencia       |
---------------------------------------------------------------------
Key fingerprint = 7C23 B804 3E65 D298 0A21  B6E2 589F 03F0 1BA5 5038


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to