mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #7221: remove redundant tests in test_asyncore. Patch by Jessica McKellar.
This commit is contained in:
parent
0fbd76b023
commit
0f1155c6cc
1 changed files with 1 additions and 6 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue