[Python-checkins] cpython: Remove redundant resource check in test_socket.

nadeem.vawda python-checkins at python.org
Wed Jan 25 07:44:44 CET 2012


http://hg.python.org/cpython/rev/050080c13610
changeset:   74606:050080c13610
parent:      74604:454d1c52f3e0
user:        Nadeem Vawda <nadeem.vawda at gmail.com>
date:        Wed Jan 25 06:48:47 2012 +0200
summary:
  Remove redundant resource check in test_socket.

files:
  Lib/test/test_socket.py |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -1168,7 +1168,6 @@
     @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')

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list