mirror of https://github.com/scrapy/scrapy.git
Use a better name for the LxmlLinkExtractor subclassing test
This commit is contained in:
parent
ee9881d270
commit
174769a3f0
|
|
@ -517,10 +517,10 @@ class LxmlLinkExtractorTestCase(Base.LinkExtractorTestCase):
|
||||||
LxmlLinkExtractor()
|
LxmlLinkExtractor()
|
||||||
self.assertEqual(len(warnings), 0)
|
self.assertEqual(len(warnings), 0)
|
||||||
|
|
||||||
class SubclassedItem(LxmlLinkExtractor):
|
class SubclassedLxmlLinkExtractor(LxmlLinkExtractor):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
SubclassedItem()
|
SubclassedLxmlLinkExtractor()
|
||||||
self.assertEqual(len(warnings), 0)
|
self.assertEqual(len(warnings), 0)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue