Unverified Commit 617f21be authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python311Packages.w3lib: disable regressed test (#238004)

parent c04ec119
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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; {