Message323797
| Author |
Michael.Felt |
| Recipients |
Michael.Felt, michael-o, terry.reedy |
| Date |
2018年08月20日.16:11:07 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1534781467.35.0.56676864532.issue34403@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|