summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-04 18:50:35 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-04 18:50:35 (GMT)
commitd9107aadeda663173eb68c412396e5e3353a4059 (patch)
tree12d3b715d3f27fe1eeaa81f77051b969b5d895f6 /Lib
parent1afb39a43707a9e3f14e459b384f1f4f03c16b73 (diff)
downloadcpython-d9107aadeda663173eb68c412396e5e3353a4059.zip
cpython-d9107aadeda663173eb68c412396e5e3353a4059.tar.gz
cpython-d9107aadeda663173eb68c412396e5e3353a4059.tar.bz2
Issue #9777: test_idna requires the "network" resource
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_socket.py1
1 files changed, 1 insertions, 0 deletions
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')