mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue 24004: Fix DeprecationWarning in a unittest
(Merge from 3.5)
This commit is contained in:
commit
eb141c48af
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue