mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
asyncio tests: Remove scories of resolution/granularity
This commit is contained in:
parent
aa029dad50
commit
87bf2772be
2 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue