From 2b6bcd61dffae28986ab778e55ed48354893a7ed Mon Sep 17 00:00:00 2001 From: elpolilla Date: Thu, 11 Sep 2008 14:50:15 +0000 Subject: [PATCH] Small piece of code moved for not complying with conventions --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40223 --- scrapy/trunk/scrapy/tests/test_xpath.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrapy/trunk/scrapy/tests/test_xpath.py b/scrapy/trunk/scrapy/tests/test_xpath.py index 71be24864..99c06119b 100644 --- a/scrapy/trunk/scrapy/tests/test_xpath.py +++ b/scrapy/trunk/scrapy/tests/test_xpath.py @@ -6,9 +6,6 @@ import libxml2 from scrapy.http import Response from scrapy.xpath.selector import XmlXPathSelector, HtmlXPathSelector -if __name__ == "__main__": - unittest.main() - class XPathTestCase(unittest.TestCase): def setUp(self): @@ -223,3 +220,6 @@ class XPathTestCase(unittest.TestCase): u'\n ', u'\n pff\n']) + +if __name__ == "__main__": + unittest.main()