Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fix a deprecation warning.

Andrey Rakhmatullin37ac47ff8074
diff --git a/tests/test_utils_asyncio.py b/tests/test_utils_asyncio.py
index a6ba24876..44acc24af 100644
--- a/tests/test_utils_asyncio.py
+++ b/tests/test_utils_asyncio.py
@@ -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