]> granicus.if.org Git - python/commitdiff
asyncio tests: Remove scories of resolution/granularity
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 9 Feb 2014 00:25:52 +0000 (01:25 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 9 Feb 2014 00:25:52 +0000 (01:25 +0100)
Lib/test/test_asyncio/test_proactor_events.py
Lib/test/test_asyncio/test_selector_events.py

index 98abe69653aea9971908512611a751e44155bf44..9964f425d21d9d7a2cd975b004cd35ce5ba0c4fd 100644 (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()
 
index 4c81e75d220b45c72fd98d5d35fb1b5b6d08ce84..ad0b0be81e529c5caf25671cde5e1783ef3c31c4 100644 (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):