def METHOD_NAME(self):
    module = "tests.test_spiderloader.test_spiders.spider1"
    runner = CrawlerRunner(
        {
            "SPIDER_MODULES": [module],
            "REQUEST_FINGERPRINTER_IMPLEMENTATION": "2.7",
        }
    )
    self.assertRaisesRegex(
        KeyError, "Spider not found", runner.create_crawler, "spider2"
    )
    crawler = runner.create_crawler("spider1")
    self.assertTrue(issubclass(crawler.spidercls, scrapy.Spider))
    self.assertEqual(crawler.spidercls.name, "spider1")