[Python-checkins] cpython: asyncio tests: Remove scories of resolution/granularity
victor.stinner
python-checkins at python.org
Sun Feb 9 01:26:31 CET 2014
http://hg.python.org/cpython/rev/53de17e05d05
changeset: 89072:53de17e05d05
user: Victor Stinner <victor.stinner at gmail.com>
date: Sun Feb 09 01:25:52 2014 +0100
summary:
asyncio tests: Remove scories of resolution/granularity
files:
Lib/test/test_asyncio/test_proactor_events.py | 2 --
Lib/test/test_asyncio/test_selector_events.py | 1 -
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_asyncio/test_proactor_events.py b/Lib/test/test_asyncio/test_proactor_events.py
--- a/Lib/test/test_asyncio/test_proactor_events.py
+++ b/Lib/test/test_asyncio/test_proactor_events.py
@@ -17,7 +17,6 @@
def setUp(self):
self.loop = test_utils.TestLoop()
self.proactor = unittest.mock.Mock()
- self.proactor.resolution = 1e-3
self.loop._proactor = self.proactor
self.protocol = test_utils.make_test_protocol(asyncio.Protocol)
self.sock = unittest.mock.Mock(socket.socket)
@@ -343,7 +342,6 @@
def setUp(self):
self.sock = unittest.mock.Mock(socket.socket)
self.proactor = unittest.mock.Mock()
- self.proactor.resolution = 1e-3
self.ssock, self.csock = unittest.mock.Mock(), unittest.mock.Mock()
diff --git a/Lib/test/test_asyncio/test_selector_events.py b/Lib/test/test_asyncio/test_selector_events.py
--- a/Lib/test/test_asyncio/test_selector_events.py
+++ b/Lib/test/test_asyncio/test_selector_events.py
@@ -39,7 +39,6 @@
def setUp(self):
selector = unittest.mock.Mock()
- selector.resolution = 1e-3
self.loop = TestBaseSelectorEventLoop(selector)
def test_make_socket_transport(self):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list