Message323797
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. |
|
Date |
User |
Action |
Args |
2018-08-20 16:11:07 | Michael.Felt | set | recipients:
+ Michael.Felt, terry.reedy, michael-o |
2018-08-20 16:11:07 | Michael.Felt | set | messageid: <1534781467.35.0.56676864532.issue34403@psf.upfronthosting.co.za> |
2018-08-20 16:11:07 | Michael.Felt | link | issue34403 messages |
2018-08-20 16:11:07 | Michael.Felt | create | |
|