python311Packages.w3lib: disable regressed test (#238004)

Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
This commit is contained in:
Martin Weinelt
2023-06-16 11:48:45 +02:00
committed by GitHub
co-authored by Mario Rodas
parent c04ec11987
commit 617f21be79
@@ -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; {