Skip to content

Conversation

@michael-o
Copy link
Contributor

@michael-o michael-o commented Aug 28, 2018

Skip this test because it requires a single-byte default locale encoding like
ASCII or ISO-8859-1 to properly work with surrogate escapes. Just like CP1252
Roman 8 includes Unicode characters which are encoded in multiple bytes.
The final comparison in this test does not handle that. Disable it because
assumptions aren't met.

Patch by Michael Osipov.

https://bugs.python.org/issue34403

Skip this test because it requires a single-byte default locale encoding like
ASCII or ISO-8859-1 to properly work with surrogate escapes. Just like CP1252
Roman 8 includes Unicode characters which are encoded in multiple bytes.
The final comparison in this test does not handle that. Disable it because
assumptions aren't met.

Patch by Michael Osipov.
@vstinner
Copy link
Member

I wrote PR #8967 which should fix the test for HP-UX instead of skipping the test.

@michael-o
Copy link
Contributor Author

Does not pass. See issue comment.

@michael-o
Copy link
Contributor Author

Since @vstinner committed a decent fix, this can be closed.

@michael-o michael-o closed this Aug 28, 2018
@michael-o michael-o deleted the bpo-34403 branch August 28, 2018 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants