asyncio tests: Remove scories of resolution/granularity
This commit is contained in:
parent
aa029dad50
commit
87bf2772be
|
@ -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()
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue