[issue24152] test_mailcap fails

2015-05-09 Thread ryan
New submission from ryan: UnicodeDecodeError -- components: Tests files: results hgrepos: 308 messages: 242840 nosy: petrosr2 priority: normal severity: normal status: open title: test_mailcap fails type: crash versions: Python 2.7 Added file: http://bugs.python.org/file39330/results

[issue24152] test_mailcap fails

2015-05-09 Thread ryan
ryan added the comment: running command over PuTTY on Ubuntu 3.13, python 2.7.6 $ ./python -m test test_mailcap [1/1] test_mailcap test test_mailcap failed -- Traceback (most recent call last): File /home/petrosr2/Documents/opensource/cpy/Lib/test/test_mailcap.py, line 126, in

[issue24152] test_mailcap fails if a mailcap file contains a non-decodable character

2015-05-09 Thread Ned Deily
Ned Deily added the comment: I can reproduce the failure by arbitrarily adding a non-ascii character to one of the mailcap files searched for by the mailcap module (https://docs.python.org/3/library/mailcap.html#mailcap.getcaps), like $HOME/.mailcap, and by setting the process to an