Scrapy, a fast high-level web crawling & scraping framework for Python.
fix: pylint
Jalil SA4bb99fd2f3a9
diff --git a/tests/test_selector.py b/tests/test_selector.pyindex 274d63d8d..311c09aba 100644--- a/tests/test_selector.py+++ b/tests/test_selector.py@@ -1,8 +1,8 @@import weakref-import packaging.version as versionimport parselimport pytest+from packaging import versionfrom twisted.trial import unittestfrom scrapy.http import HtmlResponse, TextResponse, XmlResponse@@ -11,6 +11,9 @@ from scrapy.selector import SelectorPARSEL_VERSION = version.parse(getattr(parsel, "__version__", "0.0"))PARSEL_18_PLUS = PARSEL_VERSION >= version.parse("1.8.0")+print(PARSEL_VERSION)+print(PARSEL_18_PLUS)+class SelectorTestCase(unittest.TestCase):def test_simple_selection(self):