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()
|
return Awaitable()
|
||||||
|
|
||||||
coro = func()
|
coro = func()
|
||||||
self.assertEquals(coro.send(None), 'spam')
|
self.assertEqual(coro.send(None), 'spam')
|
||||||
coro.close()
|
coro.close()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue