Kaydet (Commit) 7bc26b9b authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Issue #8348: Fix test ftp url in test_urllib2net.

üst e84089e3
...@@ -220,7 +220,7 @@ class TimeoutTest(unittest.TestCase): ...@@ -220,7 +220,7 @@ class TimeoutTest(unittest.TestCase):
u = _urlopen_with_retry("http://www.python.org", timeout=120) u = _urlopen_with_retry("http://www.python.org", timeout=120)
self.assertEqual(u.fp._sock.fp._sock.gettimeout(), 120) self.assertEqual(u.fp._sock.fp._sock.gettimeout(), 120)
FTP_HOST = "ftp://ftp.mirror.nl/pub/mirror/gnu/" FTP_HOST = "ftp://ftp.mirror.nl/pub/gnu/"
def test_ftp_basic(self): def test_ftp_basic(self):
self.assertTrue(socket.getdefaulttimeout() is None) self.assertTrue(socket.getdefaulttimeout() is None)
......
...@@ -58,6 +58,8 @@ Core and Builtins ...@@ -58,6 +58,8 @@ Core and Builtins
Library Library
------- -------
- Issue #8348: Fix test ftp url in test_urllib2net.
- Issue #8204: Fix test_ttk notebook test by forcing focus. - Issue #8204: Fix test_ttk notebook test by forcing focus.
- Issue #8344: Fix test_ttk bug on FreeBSD. - Issue #8344: Fix test_ttk bug on FreeBSD.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment