diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-04 18:50:35 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-04 18:50:35 (GMT) |
commit | d9107aadeda663173eb68c412396e5e3353a4059 (patch) | |
tree | 12d3b715d3f27fe1eeaa81f77051b969b5d895f6 | |
parent | 1afb39a43707a9e3f14e459b384f1f4f03c16b73 (diff) | |
download | cpython-d9107aadeda663173eb68c412396e5e3353a4059.zip cpython-d9107aadeda663173eb68c412396e5e3353a4059.tar.gz cpython-d9107aadeda663173eb68c412396e5e3353a4059.tar.bz2 |
Issue #9777: test_idna requires the "network" resource
-rw-r--r-- | Lib/test/test_socket.py | 1 |
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') |