Scrapy, a fast high-level web crawling & scraping framework for Python.
some small semantics errors fixed in xpath test
elpolilla06964cf36b6d
diff --git a/scrapy/trunk/scrapy/tests/test_xpath.py b/scrapy/trunk/scrapy/tests/test_xpath.pyindex 57600b786..71be24864 100644--- a/scrapy/trunk/scrapy/tests/test_xpath.py+++ b/scrapy/trunk/scrapy/tests/test_xpath.py@@ -1,11 +1,13 @@-import osimport reimport unittestimport libxml2from scrapy.http import Response-from scrapy.xpath.selector import XPathSelector, XmlXPathSelector, HtmlXPathSelector+from scrapy.xpath.selector import XmlXPathSelector, HtmlXPathSelector++if __name__ == "__main__":+ unittest.main()class XPathTestCase(unittest.TestCase):@@ -192,7 +194,7 @@ class XPathTestCase(unittest.TestCase):u'<root>lala</root>')def test_unquote(self):- xmldoc='\n'.join((+ xmldoc = '\n'.join(('<root>',' lala',' <node>',@@ -221,5 +223,3 @@ class XPathTestCase(unittest.TestCase):u'\n ',u'\n pff\n'])- if __name__ == "__main__":- unittest.main()