From 6ca6bddf0a9c1c5c7c0367812c6a09b8581e0a30 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 29 Dec 2019 14:39:00 +0100 Subject: behavior: Fix test failure yarl before version 1.4 fails to parse this (invalid) URL. Now it simply accepts it. Pin yarl version to avoid random breakage in the future. --- crocoite/test_behavior.py | 1 + 1 file changed, 1 insertion(+) (limited to 'crocoite') diff --git a/crocoite/test_behavior.py b/crocoite/test_behavior.py index d7401c0..1efea08 100644 --- a/crocoite/test_behavior.py +++ b/crocoite/test_behavior.py @@ -169,6 +169,7 @@ async def test_extract_links (): assert sorted (links) == sorted ([ url.with_path ('/relative'), url.with_fragment ('anchor'), + URL ('http://neue_preise_f%C3%BCr_zahnimplantate_k%C3%B6nnten_sie_%C3%BCberraschen'), URL ('http://example.com/absolute/'), URL ('https://example.com/absolute/secure'), url.with_path ('/hidden/visibility'), # XXX: shall we ignore these as well? -- cgit v1.2.3