fix: pylint

This commit is contained in:
Jalil SA 2023-05-02 19:26:20 -06:00
parent a604dfae5c
commit 4bb99fd2f3
1 changed files with 4 additions and 1 deletions

View File

@ -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):