python311Packages.w3lib: disable regressed test (#238004)

Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
(cherry picked from commit 617f21be79)
This commit is contained in:
Martin Weinelt
2023-06-16 11:48:45 +02:00
committed by Martin Weinelt
parent 1937197ed3
commit aa74dca235

View File

@@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonAtLeast
, pythonOlder
}:
@@ -25,8 +26,10 @@ buildPythonPackage rec {
"w3lib"
];
disabledTests = [
"test_add_or_replace_parameter"
disabledTests = lib.optionals (pythonAtLeast "3.11") [
# regressed on Python 3.11.4
# https://github.com/scrapy/w3lib/issues/212
"test_safe_url_string_url"
];
meta = with lib; {