From 439c5fe3ae62741f01da7e78a9c198375e837857 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Sun, 31 May 2015 11:28:35 -0400 Subject: [PATCH] Issue 24004: Fix DeprecationWarning in a unittest --- Lib/test/test_asyncio/test_pep492.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_asyncio/test_pep492.py b/Lib/test/test_asyncio/test_pep492.py index d123f088cb6..2f13a514696 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()