summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2014-02-09 03:44:02 (GMT)
committerGuido van Rossum <guido@python.org>2014-02-09 03:44:02 (GMT)
commit09f08fe2483aaefba367c6b0b4654c3490a32c42 (patch)
tree15a8d842fe033fc4cf9629f7201c605426e8cdef
parent72318b97f6c02e4cea03947df6e30f2457fb9836 (diff)
downloadcpython-09f08fe2483aaefba367c6b0b4654c3490a32c42.zip
cpython-09f08fe2483aaefba367c6b0b4654c3490a32c42.tar.gz
cpython-09f08fe2483aaefba367c6b0b4654c3490a32c42.tar.bz2
asyncio: Remove more relics of resolution/granularity.
-rw-r--r--Lib/asyncio/test_utils.py5
-rw-r--r--Lib/asyncio/windows_events.py1
2 files changed, 0 insertions, 6 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py
index fed28d7..ccb4454 100644
--- a/Lib/asyncio/test_utils.py
+++ b/Lib/asyncio/test_utils.py
@@ -144,10 +144,6 @@ class TestSelector(selectors.BaseSelector):
def __init__(self):
self.keys = {}
- @property
- def resolution(self):
- return 1e-3
-
def register(self, fileobj, events, data=None):
key = selectors.SelectorKey(fileobj, 0, events, data)
self.keys[fileobj] = key
@@ -196,7 +192,6 @@ class TestLoop(base_events.BaseEventLoop):
next(self._gen)
self._time = 0
self._timers = []
- self._granularity = 1e-9
self._selector = TestSelector()
self.readers = {}
diff --git a/Lib/asyncio/windows_events.py b/Lib/asyncio/windows_events.py
index b8574fa..0a2d981 100644
--- a/Lib/asyncio/windows_events.py
+++ b/Lib/asyncio/windows_events.py
@@ -191,7 +191,6 @@ class IocpProactor:
self._cache = {}
self._registered = weakref.WeakSet()
self._stopped_serving = weakref.WeakSet()
- self.resolution = 1e-3
def set_loop(self, loop):
self._loop = loop