From 0f1155c6cc2992ca732dd5f1e9aeed0b8315b0ba Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 19 Apr 2014 21:07:16 +0200 Subject: [PATCH] Issue #7221: remove redundant tests in test_asyncore. Patch by Jessica McKellar. --- Lib/test/test_asyncore.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py index 084d2472952..5aaedf358ed 100644 --- a/Lib/test/test_asyncore.py +++ b/Lib/test/test_asyncore.py @@ -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):