diff --git a/docs/topics/leaks.rst b/docs/topics/leaks.rst index de9bf645e..c60acb47d 100644 --- a/docs/topics/leaks.rst +++ b/docs/topics/leaks.rst @@ -89,7 +89,6 @@ subclasses): * ``scrapy.item.Item`` * ``scrapy.selector.Selector`` * ``scrapy.spider.BaseSpider`` -* ``scrapy.selector.document.Libxml2Document`` A real example -------------- diff --git a/scrapy/tests/test_selector_lxmldocument.py b/scrapy/tests/test_selector_lxmldocument.py index e544613d5..7dab1d4b1 100644 --- a/scrapy/tests/test_selector_lxmldocument.py +++ b/scrapy/tests/test_selector_lxmldocument.py @@ -3,7 +3,7 @@ from scrapy.selector.lxmldocument import LxmlDocument from scrapy.http import TextResponse, HtmlResponse -class Libxml2DocumentTest(unittest.TestCase): +class LxmlDocumentTest(unittest.TestCase): def test_caching(self): r1 = HtmlResponse('http://www.example.com', body='')