summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-09 00:25:52 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-09 00:25:52 (GMT)
commit87bf2772be6138044c79011ad1a4daf91dc08a7f (patch)
tree7881de4d320307906dcd2d64061759e1943807bd
parentaa029dad50d6999c5c73a7519bd5f755d866844b (diff)
downloadcpython-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.py2
-rw-r--r--Lib/test/test_asyncio/test_selector_events.py1
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):