mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-22 05:33:28 +00:00
Fix a deprecation warning.
This commit is contained in:
parent
87ece066ca
commit
37ac47ff80
@ -10,7 +10,7 @@ class AsyncioTest(TestCase):
|
|||||||
|
|
||||||
def test_is_asyncio_reactor_installed(self):
|
def test_is_asyncio_reactor_installed(self):
|
||||||
# the result should depend only on the pytest --reactor argument
|
# 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):
|
def test_install_asyncio_reactor(self):
|
||||||
# this should do nothing
|
# this should do nothing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user