mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Rename the logger to plain "logger".
This commit is contained in:
parent
b795aa8547
commit
fc29e0f37e
15 changed files with 61 additions and 60 deletions
|
|
@ -1320,7 +1320,7 @@ class HandleTests(unittest.TestCase):
|
|||
self.assertRaises(
|
||||
AssertionError, events.make_handle, h1, ())
|
||||
|
||||
@unittest.mock.patch('asyncio.events.asyncio_log')
|
||||
@unittest.mock.patch('asyncio.events.logger')
|
||||
def test_callback_with_exception(self, log):
|
||||
def callback():
|
||||
raise ValueError()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue