Kaydet (Commit) d9107aad authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Issue #9777: test_idna requires the "network" resource

üst 1afb39a4
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment