Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-34403: Skip test_utf8_mode.test_cmd_line() on HP-UX#8966

Closed
michael-o wants to merge 1 commit into
python:masterpython/cpython:masterfrom
michael-o:bpo-34403michael-o/cpython:bpo-34403Copy head branch name to clipboard
Closed

bpo-34403: Skip test_utf8_mode.test_cmd_line() on HP-UX#8966
michael-o wants to merge 1 commit into
python:masterpython/cpython:masterfrom
michael-o:bpo-34403michael-o/cpython:bpo-34403Copy head branch name to clipboard

Conversation

@michael-o

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

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

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

@michael-o

Copy link
Copy Markdown
Contributor Author

Does not pass. See issue comment.

@michael-o

Copy link
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.