Fix SpiderLoaderTest on Python 3.10.
Fix SpiderLoaderTest on Python 3.10.

pablohoffman/scrapy,pawelmhm/scrapy,pablohoffman/scrapy,scrapy/scrapy,pawelmhm/scrapy,pawelmhm/scrapy,pablohoffman/scrapy,scrapy/scrapy,elacuesta/scrapy,scrapy/scrapy,elacuesta/scrapy,elacuesta/scrapy