Unverified Commit d05947b4 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

python3Packages.drf-extra-fields: fix tests exclusion (#425428)

parents 3d6b5e29 9f086440
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -48,15 +48,17 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "drf_extra_fields" ];

  disabledTests = lib.optionals (pythonAtLeast "3.13") [
    # https://github.com/Hipo/drf-extra-fields/issues/210
    "test_read_source_with_context"

  disabledTests =
    [
      # pytz causes the following tests to fail
      "test_create"
      "test_create_with_base64_prefix"
      "test_create_with_webp_image"
      "test_remove_with_empty_string"
    ]
    ++ lib.optionals (pythonAtLeast "3.13") [
      # https://github.com/Hipo/drf-extra-fields/issues/210
      "test_read_source_with_context"
    ];

  meta = {