mirror of https://github.com/python/cpython
Issue 24004: Fix DeprecationWarning in a unittest
(Merge from 3.5)
This commit is contained in:
commit
eb141c48af
|
@ -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