We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_urllib2.HandlerTests.test_ftp_error
1 parent feda9aa commit e4d90beCopy full SHA for e4d90be
1 file changed
Lib/test/test_urllib2.py
@@ -794,6 +794,7 @@ def connect_ftp(self, user, passwd, host, port, dirs,
794
self.assertEqual(headers.get("Content-type"), mimetype)
795
self.assertEqual(int(headers["Content-length"]), len(data))
796
797
+ @support.requires_resource("network")
798
def test_ftp_error(self):
799
class ErrorFTPHandler(urllib.request.FTPHandler):
800
def __init__(self, exception):
0 commit comments