Issue #7221: remove redundant tests in test_asyncore. Patch by Jessica McKellar.

This commit is contained in:
Antoine Pitrou 2014-04-19 21:07:16 +02:00
parent 0fbd76b023
commit 0f1155c6cc

View file

@ -349,9 +349,8 @@ class dispatcherwithsend_noread(asyncore.dispatcher_with_send):
def handle_connect(self):
pass
class DispatcherWithSendTests(unittest.TestCase):
usepoll = False
class DispatcherWithSendTests(unittest.TestCase):
def setUp(self):
pass
@ -401,10 +400,6 @@ class DispatcherWithSendTests(unittest.TestCase):
self.fail("join() timed out")
class DispatcherWithSendTests_UsePoll(DispatcherWithSendTests):
usepoll = True
@unittest.skipUnless(hasattr(asyncore, 'file_wrapper'),
'asyncore.file_wrapper required')
class FileWrapperTest(unittest.TestCase):