Skip to content

Commit 55075db

Browse files
committed
don't use ScalableSelectorMixIn with DevpollSelector tests
The amount of descriptors returned with select is not affected by FD_SETSIZE or RLIMIT_NOFILE when using devpoll - the limit is hardcoded to 1024 now.
1 parent 01cb4a7 commit 55075db

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/test/test_selectors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,7 @@ def test_empty_select_timeout(self):
603603

604604
@unittest.skipUnless(hasattr(selectors, 'DevpollSelector'),
605605
"Test needs selectors.DevpollSelector")
606-
class DevpollSelectorTestCase(BaseSelectorTestCase, ScalableSelectorMixIn,
607-
unittest.TestCase):
606+
class DevpollSelectorTestCase(BaseSelectorTestCase, unittest.TestCase):
608607

609608
SELECTOR = getattr(selectors, 'DevpollSelector', None)
610609

0 commit comments

Comments
 (0)