From: Yury Selivanov Date: Sun, 31 May 2015 15:28:35 +0000 (-0400) Subject: Issue 24004: Fix DeprecationWarning in a unittest X-Git-Tag: v3.5.0b3~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=439c5fe3ae62741f01da7e78a9c198375e837857;p=thirdparty%2FPython%2Fcpython.git Issue 24004: Fix DeprecationWarning in a unittest --- diff --git a/Lib/test/test_asyncio/test_pep492.py b/Lib/test/test_asyncio/test_pep492.py index d123f088cb6a..2f13a514696c 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()