From: Antoine Pitrou Date: Sat, 19 Apr 2014 19:07:16 +0000 (+0200) Subject: Issue #7221: remove redundant tests in test_asyncore. Patch by Jessica McKellar. X-Git-Tag: v3.5.0a1~1817 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f1155c6cc2992ca732dd5f1e9aeed0b8315b0ba;p=thirdparty%2FPython%2Fcpython.git Issue #7221: remove redundant tests in test_asyncore. Patch by Jessica McKellar. --- diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py index 084d2472952c..5aaedf358ed4 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):