Kaydet (Commit) 0f1155c6 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

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

üst 0fbd76b0
...@@ -349,9 +349,8 @@ class dispatcherwithsend_noread(asyncore.dispatcher_with_send): ...@@ -349,9 +349,8 @@ class dispatcherwithsend_noread(asyncore.dispatcher_with_send):
def handle_connect(self): def handle_connect(self):
pass pass
class DispatcherWithSendTests(unittest.TestCase):
usepoll = False
class DispatcherWithSendTests(unittest.TestCase):
def setUp(self): def setUp(self):
pass pass
...@@ -401,10 +400,6 @@ class DispatcherWithSendTests(unittest.TestCase): ...@@ -401,10 +400,6 @@ class DispatcherWithSendTests(unittest.TestCase):
self.fail("join() timed out") self.fail("join() timed out")
class DispatcherWithSendTests_UsePoll(DispatcherWithSendTests):
usepoll = True
@unittest.skipUnless(hasattr(asyncore, 'file_wrapper'), @unittest.skipUnless(hasattr(asyncore, 'file_wrapper'),
'asyncore.file_wrapper required') 'asyncore.file_wrapper required')
class FileWrapperTest(unittest.TestCase): class FileWrapperTest(unittest.TestCase):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment