From ab9462a251ce084698e3751d5131ab9ce267ab0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gra=C3=B1a?= Date: Mon, 14 Oct 2013 16:37:14 -0200 Subject: [PATCH] remove more references to libxml2 --- docs/topics/leaks.rst | 1 - scrapy/tests/test_selector_lxmldocument.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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='')