asyncio tests: Remove scories of resolution/granularity

This commit is contained in:
Victor Stinner 2014-02-09 01:25:52 +01:00
parent aa029dad50
commit 87bf2772be
2 changed files with 0 additions and 3 deletions

View File

@ -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()

View File

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