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:
Victor Stinner 2014-02-07 23:34:58 +01:00
parent c489e83432
commit 85310a50a9
9 changed files with 10 additions and 74 deletions

View file

@ -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: