mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #9777: test_idna requires the "network" resource
This commit is contained in:
parent
1afb39a437
commit
d9107aaded
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue