commit | d9107aadeda663173eb68c412396e5e3353a4059 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Sep 04 18:50:35 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Sep 04 18:50:35 2010 +0000 |
tree | 12d3b715d3f27fe1eeaa81f77051b969b5d895f6 | |
parent | 1afb39a43707a9e3f14e459b384f1f4f03c16b73 [diff] [blame] |
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')