-
-
Notifications
You must be signed in to change notification settings - Fork 32k
bpo-36019: Use pythontest.net instead of example.com #11941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 13 commits
7204921
5f726be
039455e
e885ac7
689fdc6
a507631
b1c00eb
8fec9c6
e90553c
6559361
37b5de3
25bf689
5329286
c062224
cfafca6
33a4744
e4f8128
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,8 @@ def tearDown(self): | |
socket.setdefaulttimeout(None) | ||
|
||
def testURLread(self): | ||
with support.transient_internet("www.example.com"): | ||
f = urllib.request.urlopen("http://www.example.com/") | ||
with support.transient_internet("www.pythontest.net"): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not using support.TEST_HTTP_URL here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. because There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for that, I have introduced |
||
f = urllib.request.urlopen("http://www.pythontest.net") | ||
f.read() | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Replace http://example.com by http://pythontest.net for some tests. | ||
Contributed by Stéphane Wirtel | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One NEWS entry is enough. Please merge both NEWS entries. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Add test.support.TEST_HTTP_URL (http://www.pythontest.net) for the tests. | ||
Contributed by Stéphane Wirtel. |
Uh oh!
There was an error while loading. Please reload this page.