From d9107aadeda663173eb68c412396e5e3353a4059 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 4 Sep 2010 18:50:35 +0000 Subject: Issue #9777: test_idna requires the "network" resource --- Lib/test/test_socket.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 60a44dc..2f6d007 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') -- cgit v0.12