mirror of https://github.com/scrapy/scrapy.git
Exclude test for python versionbs less than 3.8
This commit is contained in:
parent
608b7de582
commit
618e82dbe1
|
|
@ -819,7 +819,7 @@ class LxmlLinkExtractorTestCase(Base.LinkExtractorTestCase):
|
|||
|
||||
@unittest.skipIf(
|
||||
sys.version_info < (3, 8),
|
||||
reason="Urllib3 is less strict in versions for python 3.7 so does not cause spider to crash",
|
||||
reason="some library for python 3.7 so is less strict so bad links like htis don't crash scrapy",
|
||||
)
|
||||
def test_skip_bad_links(self):
|
||||
html = b"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue