Skip to content

bpo-28728: clarify possible test failure due to ISP#412

Merged
zhangyangyu merged 2 commits into
python:masterfrom
zhangyangyu:bpo-28728
Mar 7, 2017
Merged

bpo-28728: clarify possible test failure due to ISP#412
zhangyangyu merged 2 commits into
python:masterfrom
zhangyangyu:bpo-28728

Conversation

@zhangyangyu
Copy link
Copy Markdown
Member

No description provided.

@mention-bot
Copy link
Copy Markdown

@zhangyangyu, thanks for your PR! By analyzing the history of the files in this pull request, we identified @asvetlov, @tiran, @ncoghlan, @cf-natali and @serhiy-storchaka to be potential reviewers.

Comment thread Lib/test/test_socket.py Outdated
# These are all malformed IP addresses and expected not to resolve to
# any result. But some ISPs, e.g. AWS, may successfully resolve these
# IPs.
explanation = "resolving an invalid IP address did not raise OSError; " \
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.

No need to use \ here:

msg = (
    "resolving an invalid IP address did not raise OSError; "
    "can be caused by a broken DNS server"
)

@vadmium
Copy link
Copy Markdown
Member

vadmium commented Mar 6, 2017

Looks fine to me

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants