mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue 24004: Fix DeprecationWarning in a unittest
This commit is contained in:
parent
d4ea03c785
commit
439c5fe3ae
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ class CoroutineTests(BaseTest):
|
|||
return Awaitable()
|
||||
|
||||
coro = func()
|
||||
self.assertEquals(coro.send(None), 'spam')
|
||||
self.assertEqual(coro.send(None), 'spam')
|
||||
coro.close()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue