1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-21 04:33:24 +00:00

Fix a deprecation warning.

This commit is contained in:
Andrey Rakhmatullin 2019-12-26 20:46:54 +05:00
parent 87ece066ca
commit 37ac47ff80

View File

@ -10,7 +10,7 @@ class AsyncioTest(TestCase):
def test_is_asyncio_reactor_installed(self):
# the result should depend only on the pytest --reactor argument
self.assertEquals(is_asyncio_reactor_installed(), self.reactor_pytest == 'asyncio')
self.assertEqual(is_asyncio_reactor_installed(), self.reactor_pytest == 'asyncio')
def test_install_asyncio_reactor(self):
# this should do nothing