I cannot believe this would fix the patch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python314?expand=0&rev=13
This commit is contained in:
parent
8bad2f513e
commit
a7b3239561
@ -8,7 +8,7 @@
|
|||||||
self.assertEqual(headers.get("Content-type"), mimetype)
|
self.assertEqual(headers.get("Content-type"), mimetype)
|
||||||
self.assertEqual(int(headers["Content-length"]), len(data))
|
self.assertEqual(int(headers["Content-length"]), len(data))
|
||||||
|
|
||||||
+ @support.requires_resource("network")
|
+ @support.requires_resource('network')
|
||||||
def test_ftp_error(self):
|
def test_ftp_error(self):
|
||||||
class ErrorFTPHandler(urllib.request.FTPHandler):
|
class ErrorFTPHandler(urllib.request.FTPHandler):
|
||||||
def __init__(self, exception):
|
def __init__(self, exception):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user