Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python311Packages.w3lib: disable regressed test (#238004)

Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
(cherry picked from commit 617f21be79fe1a7946f474fe020dd4f795d3ac95)

authored by

Martin Weinelt
Mario Rodas
and committed by
Martin Weinelt
aa74dca2 1937197e

+5 -2
+5 -2
pkgs/development/python-modules/w3lib/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , pytestCheckHook 5 + , pythonAtLeast 5 6 , pythonOlder 6 7 }: 7 8 ··· 25 26 "w3lib" 26 27 ]; 27 28 28 - disabledTests = [ 29 - "test_add_or_replace_parameter" 29 + disabledTests = lib.optionals (pythonAtLeast "3.11") [ 30 + # regressed on Python 3.11.4 31 + # https://github.com/scrapy/w3lib/issues/212 32 + "test_safe_url_string_url" 30 33 ]; 31 34 32 35 meta = with lib; {