summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_base_events.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@dropbox.com>2013-10-17 22:39:45 (GMT)
committerGuido van Rossum <guido@dropbox.com>2013-10-17 22:39:45 (GMT)
commitfc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc (patch)
tree9c111dea008d9eec467e63d76d59502c2f5128a3 /Lib/test/test_asyncio/test_base_events.py
parentb795aa8547b5a615d715fedc6a6267b7e8811d94 (diff)
downloadcpython-fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc.zip
cpython-fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc.tar.gz
cpython-fc29e0f37e8a5928c3ef38ce7e02c64984d1b5bc.tar.bz2
Rename the logger to plain "logger".
Diffstat (limited to 'Lib/test/test_asyncio/test_base_events.py')
-rw-r--r--Lib/test/test_asyncio/test_base_events.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py
index d48d12c..e62f476 100644
--- a/Lib/test/test_asyncio/test_base_events.py
+++ b/Lib/test/test_asyncio/test_base_events.py
@@ -183,7 +183,7 @@ class BaseEventLoopTests(unittest.TestCase):
self.assertTrue(self.loop._process_events.called)
@unittest.mock.patch('asyncio.base_events.time')
- @unittest.mock.patch('asyncio.base_events.asyncio_log')
+ @unittest.mock.patch('asyncio.base_events.logger')
def test__run_once_logging(self, m_logging, m_time):
# Log to INFO level if timeout > 1.0 sec.
idx = -1
@@ -579,7 +579,7 @@ class BaseEventLoopWithSelectorTests(unittest.TestCase):
self.loop._accept_connection(MyProto, sock)
self.assertFalse(sock.close.called)
- @unittest.mock.patch('asyncio.selector_events.asyncio_log')
+ @unittest.mock.patch('asyncio.selector_events.logger')
def test_accept_connection_exception(self, m_log):
sock = unittest.mock.Mock()
sock.fileno.return_value = 10