Remove redundant resource check in test_socket.

This commit is contained in:
Nadeem Vawda 2012-01-25 06:48:47 +02:00
parent 157c1263a2
commit a58c01ba48

View file

@ -1168,7 +1168,6 @@ class GeneralModuleTests(unittest.TestCase):
@unittest.skipUnless(support.is_resource_enabled('network'),
'network is not enabled')
def test_idna(self):
support.requires('network')
# these should all be successful
socket.gethostbyname('испытание.python.org')
socket.gethostbyname_ex('испытание.python.org')