Skip to content

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.py
index 274d63d8d..311c09aba 100644
--- a/tests/test_selector.py
+++ b/tests/test_selector.py
@@ -1,8 +1,8 @@
import weakref
-import packaging.version as version
import parsel
import pytest
+from packaging import version
from twisted.trial import unittest
from scrapy.http import HtmlResponse, TextResponse, XmlResponse
@@ -11,6 +11,9 @@ from scrapy.selector import Selector
PARSEL_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):