From: Antoine Pitrou <solipsis@pitrou.net> Date: Sat, 4 Sep 2010 18:50:35 +0000 (+0000) Subject: Issue #9777: test_idna requires the "network" resource X-Git-Tag: v3.2a2~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9107aadeda663173eb68c412396e5e3353a4059;p=python Issue #9777: test_idna requires the "network" resource --- diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 60a44dcc9f..2f6d00756e 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -642,6 +642,7 @@ class GeneralModuleTests(unittest.TestCase): self.assertRaises(socket.error, socket.getnameinfo, ('mail.python.org',0), 0) def test_idna(self): + support.requires('network') # these should all be successful socket.gethostbyname('иÑпÑÑание.python.org') socket.gethostbyname_ex('иÑпÑÑание.python.org')