From 87bf2772be6138044c79011ad1a4daf91dc08a7f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 9 Feb 2014 01:25:52 +0100 Subject: asyncio tests: Remove scories of resolution/granularity --- Lib/test/test_asyncio/test_proactor_events.py | 2 -- Lib/test/test_asyncio/test_selector_events.py | 1 - 2 files changed, 3 deletions(-) diff --git a/Lib/test/test_asyncio/test_proactor_events.py b/Lib/test/test_asyncio/test_proactor_events.py index 98abe69..9964f42 100644 --- a/Lib/test/test_asyncio/test_proactor_events.py +++ b/Lib/test/test_asyncio/test_proactor_events.py @@ -17,7 +17,6 @@ class ProactorSocketTransportTests(unittest.TestCase): 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 @@ class BaseProactorEventLoopTests(unittest.TestCase): 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 index 4c81e75..ad0b0be 100644 --- a/Lib/test/test_asyncio/test_selector_events.py +++ b/Lib/test/test_asyncio/test_selector_events.py @@ -39,7 +39,6 @@ class BaseSelectorEventLoopTests(unittest.TestCase): def setUp(self): selector = unittest.mock.Mock() - selector.resolution = 1e-3 self.loop = TestBaseSelectorEventLoop(selector) def test_make_socket_transport(self): -- cgit v0.12