]> granicus.if.org Git - python/commitdiff
Issue 24004: Fix DeprecationWarning in a unittest
authorYury Selivanov <yselivanov@sprymix.com>
Sun, 31 May 2015 15:28:35 +0000 (11:28 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Sun, 31 May 2015 15:28:35 +0000 (11:28 -0400)
Lib/test/test_asyncio/test_pep492.py

index d123f088cb6aed319fb533f2f256fdfbece1d71e..2f13a514696cd9851a1b835a0db47ce6122eb9c3 100644 (file)
@@ -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()