Skip to content

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

Use a better name for the LxmlLinkExtractor subclassing test

Adrián Chaves174769a3f08f
diff --git a/tests/test_linkextractors.py b/tests/test_linkextractors.py
index 0ffeaecc3..cfd4c6b85 100644
--- a/tests/test_linkextractors.py
+++ b/tests/test_linkextractors.py
@@ -517,10 +517,10 @@ class LxmlLinkExtractorTestCase(Base.LinkExtractorTestCase):
LxmlLinkExtractor()
self.assertEqual(len(warnings), 0)
- class SubclassedItem(LxmlLinkExtractor):
+ class SubclassedLxmlLinkExtractor(LxmlLinkExtractor):
pass
- SubclassedItem()
+ SubclassedLxmlLinkExtractor()
self.assertEqual(len(warnings), 0)