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-30594: Add a test for bad IDNA in ssl server_hostname#1997

Merged
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
njsmith:make-victor-happynjsmith/cpython:make-victor-happyCopy head branch name to clipboard
Jun 9, 2017
Merged

bpo-30594: Add a test for bad IDNA in ssl server_hostname#1997
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
njsmith:make-victor-happynjsmith/cpython:make-victor-happyCopy head branch name to clipboard

Conversation

@njsmith

@njsmith njsmith commented Jun 8, 2017

Copy link
Copy Markdown
Contributor

See discussion:
#1992 (comment)

@njsmith

njsmith commented Jun 8, 2017

Copy link
Copy Markdown
Contributor Author

CC @Haypo @serhiy-storchaka

@njsmith njsmith force-pushed the make-victor-happy branch from 820c462 to f3c34f1 Compare June 8, 2017 11:06

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for the test.

@serhiy-storchaka serhiy-storchaka changed the title [trivial] Add a test for bad IDNA in ssl server_hostname bpo-30594: Add a test for bad IDNA in ssl server_hostname Jun 8, 2017
@serhiy-storchaka serhiy-storchaka added the tests Tests in the Lib/test dir label Jun 8, 2017
Comment thread Lib/test/test_ssl.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that it's worth it to run it in a loop. Just run it once. It's only a regression test. We have enough buildbots to catch race conditions if there is a test ;-)

Comment thread Lib/test/test_ssl.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually, we just write "# bpo-30594: ..."

@njsmith njsmith force-pushed the make-victor-happy branch from f3c34f1 to 93f1659 Compare June 9, 2017 08:37
@njsmith njsmith force-pushed the make-victor-happy branch from 93f1659 to a30411e Compare June 9, 2017 08:38
@njsmith

njsmith commented Jun 9, 2017

Copy link
Copy Markdown
Contributor Author

Comments addressed.

@vstinner vstinner merged commit 59fdf0f into python:master Jun 9, 2017
@vstinner

vstinner commented Jun 9, 2017

Copy link
Copy Markdown
Member

Thanks @njsmith for the unit test! I merged it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.