[Python-checkins] r84504 - python/branches/py3k/Lib/test/test_socket.py

antoine.pitrou python-checkins at python.org
Sat Sep 4 20:50:35 CEST 2010


Author: antoine.pitrou
Date: Sat Sep 4 20:50:35 2010
New Revision: 84504
Log:
Issue #9777: test_idna requires the "network" resource
Modified:
 python/branches/py3k/Lib/test/test_socket.py
Modified: python/branches/py3k/Lib/test/test_socket.py
==============================================================================
--- python/branches/py3k/Lib/test/test_socket.py	(original)
+++ python/branches/py3k/Lib/test/test_socket.py	Sat Sep 4 20:50:35 2010
@@ -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')


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /