diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-09 00:25:52 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-09 00:25:52 (GMT) |
commit | 87bf2772be6138044c79011ad1a4daf91dc08a7f (patch) | |
tree | 7881de4d320307906dcd2d64061759e1943807bd | |
parent | aa029dad50d6999c5c73a7519bd5f755d866844b (diff) | |
download | cpython-87bf2772be6138044c79011ad1a4daf91dc08a7f.zip cpython-87bf2772be6138044c79011ad1a4daf91dc08a7f.tar.gz cpython-87bf2772be6138044c79011ad1a4daf91dc08a7f.tar.bz2 |
asyncio tests: Remove scories of resolution/granularity
-rw-r--r-- | Lib/test/test_asyncio/test_proactor_events.py | 2 | ||||
-rw-r--r-- | Lib/test/test_asyncio/test_selector_events.py | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_asyncio/test_proactor_events.py b/Lib/test/test_asyncio/test_proactor_events.py index 98abe69..9964f42 100644 --- a/Lib/test/test_asyncio/test_proactor_events.py +++ b/Lib/test/test_asyncio/test_proactor_events.py @@ -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() diff --git a/Lib/test/test_asyncio/test_selector_events.py b/Lib/test/test_asyncio/test_selector_events.py index 4c81e75..ad0b0be 100644 --- a/Lib/test/test_asyncio/test_selector_events.py +++ b/Lib/test/test_asyncio/test_selector_events.py @@ -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): |