mirror of https://github.com/python/cpython
Issue 24004: Fix DeprecationWarning in a unittest
This commit is contained in:
parent
d4ea03c785
commit
439c5fe3ae
|
@ -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…
Reference in New Issue