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:
Matej Cepl 2024-10-17 10:31:44 +00:00 committed by Git OBS Bridge
parent 8bad2f513e
commit a7b3239561

View File

@ -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):