Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(119472)

Delta Between Two Patch Sets: Lib/test/test_urllib2net.py

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 8 months ago
Right Patch Set: Created 3 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_unicodedata.py ('k') | Lib/test/test_uuid.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 import unittest 1 import unittest
2 from test import support 2 from test import support
3 from test.test_urllib2 import sanepathname2url 3 from test.test_urllib2 import sanepathname2url
4 4
5 import os 5 import os
6 import socket 6 import socket
7 import urllib.error 7 import urllib.error
8 import urllib.request 8 import urllib.request
9 import sys 9 import sys
10 10
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 322
323 def test_ftp_timeout(self): 323 def test_ftp_timeout(self):
324 with support.transient_internet(self.FTP_HOST): 324 with support.transient_internet(self.FTP_HOST):
325 u = _urlopen_with_retry(self.FTP_HOST, timeout=60) 325 u = _urlopen_with_retry(self.FTP_HOST, timeout=60)
326 self.addCleanup(u.close) 326 self.addCleanup(u.close)
327 self.assertEqual(u.fp.fp.raw._sock.gettimeout(), 60) 327 self.assertEqual(u.fp.fp.raw._sock.gettimeout(), 60)
328 328
329 329
330 if __name__ == "__main__": 330 if __name__ == "__main__":
331 unittest.main() 331 unittest.main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+