➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 Michael.Felt
收信人 Michael.Felt, michael-o, terry.reedy
日期 2018-08-20.16:11:07
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1534781467.35.0.56676864532.issue34403@psf.upfronthosting.co.za>
In-reply-to
内容
Although the default is different (i.e., roman8 versus latin1 (iso8859-1)) both HP-UX and AIX (like Windows, cp1252) this issue and issue 33347 are related.

As I mentioned in https://bugs.python.org/issue34347#msg323319 the string seen by self.get_output() is not the same string as "expected".

If I recall, there may be a way to almost get the two be the same - excect "expected" is a bytes object and the value returned as CLI output is a regular string.

I am thinking, maybe the "easy" way will be to add AIX, HP-UX, and others to skip this test. Rather than hard-code, do a query to see what the default is, and it it is not UTF-8 - skip the test.

In any case, it seems to be broken for any system that does not have UTF-8 as default.
历史
日期 用户 动作 参数
2018-08-20 16:11:07Michael.Felt修改recipients: + Michael.Felt, terry.reedy, michael-o
2018-08-20 16:11:07Michael.Felt修改messageid: <1534781467.35.0.56676864532.issue34403@psf.upfronthosting.co.za>
2018-08-20 16:11:07Michael.Felt链接issue34403 messages
2018-08-20 16:11:07Michael.Felt创建