Skip to content

Commit 87bf277

Browse files
committed
asyncio tests: Remove scories of resolution/granularity
1 parent aa029da commit 87bf277

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

Lib/test/test_asyncio/test_proactor_events.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class ProactorSocketTransportTests(unittest.TestCase):
1717
def setUp(self):
1818
self.loop = test_utils.TestLoop()
1919
self.proactor = unittest.mock.Mock()
20-
self.proactor.resolution = 1e-3
2120
self.loop._proactor = self.proactor
2221
self.protocol = test_utils.make_test_protocol(asyncio.Protocol)
2322
self.sock = unittest.mock.Mock(socket.socket)
@@ -343,7 +342,6 @@ class BaseProactorEventLoopTests(unittest.TestCase):
343342
def setUp(self):
344343
self.sock = unittest.mock.Mock(socket.socket)
345344
self.proactor = unittest.mock.Mock()
346-
self.proactor.resolution = 1e-3
347345

348346
self.ssock, self.csock = unittest.mock.Mock(), unittest.mock.Mock()
349347

Lib/test/test_asyncio/test_selector_events.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class BaseSelectorEventLoopTests(unittest.TestCase):
3939

4040
def setUp(self):
4141
selector = unittest.mock.Mock()
42-
selector.resolution = 1e-3
4342
self.loop = TestBaseSelectorEventLoop(selector)
4443

4544
def test_make_socket_transport(self):

0 commit comments

Comments
 (0)