Exclude test for python versionbs less than 3.8

This commit is contained in:
Samuel Bartlett 2023-03-31 15:12:47 +00:00
parent 608b7de582
commit 618e82dbe1
1 changed files with 1 additions and 1 deletions

View File

@ -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"""