summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_pep492.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-31 15:28:35 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-05-31 15:28:35 (GMT)
commit439c5fe3ae62741f01da7e78a9c198375e837857 (patch)
tree5b44a55c1350e0070f71bec6331d4b25087d8ca6 /Lib/test/test_asyncio/test_pep492.py
parentd4ea03c785d659576e0ae65c12fe5c03ada872d0 (diff)
downloadcpython-439c5fe3ae62741f01da7e78a9c198375e837857.zip
cpython-439c5fe3ae62741f01da7e78a9c198375e837857.tar.gz
cpython-439c5fe3ae62741f01da7e78a9c198375e837857.tar.bz2
Issue 24004: Fix DeprecationWarning in a unittest
Diffstat (limited to 'Lib/test/test_asyncio/test_pep492.py')
-rw-r--r--Lib/test/test_asyncio/test_pep492.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_pep492.py b/Lib/test/test_asyncio/test_pep492.py
index d123f08..2f13a51 100644
--- a/Lib/test/test_asyncio/test_pep492.py
+++ b/Lib/test/test_asyncio/test_pep492.py
@@ -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()