Issue #9777: test_idna requires the "network" resource
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 @@
         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')