mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #20505: Remove resolution and _granularity from selectors and asyncio
* Remove selectors.BaseSelector.resolution attribute * Remove asyncio.BaseEventLoop._granularity attribute
This commit is contained in:
parent
c489e83432
commit
85310a50a9
9 changed files with 10 additions and 74 deletions
|
@ -363,11 +363,6 @@ class BaseSelectorTestCase(unittest.TestCase):
|
|||
self.assertFalse(s.select(2))
|
||||
self.assertLess(time() - t, 2.5)
|
||||
|
||||
def test_resolution(self):
|
||||
s = self.SELECTOR()
|
||||
self.assertIsInstance(s.resolution, (int, float))
|
||||
self.assertGreater(s.resolution, 0.0)
|
||||
|
||||
|
||||
class ScalableSelectorMixIn:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue