]> granicus.if.org Git - python/commitdiff
Issue #7221: remove redundant tests in test_asyncore. Patch by Jessica McKellar.
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 19 Apr 2014 19:07:16 +0000 (21:07 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 19 Apr 2014 19:07:16 +0000 (21:07 +0200)
Lib/test/test_asyncore.py

index 084d2472952cd1d5efb3fcb9dc7b15fb829152fd..5aaedf358ed4906b97e5ea71f6f032ce29ec9edb 100644 (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):