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

authored by Aleksana and committed by GitHub d05947b4 3d6b5e29

+12 -10
+12 -10
pkgs/development/python-modules/drf-extra-fields/default.nix
··· 48 48 49 49 pythonImportsCheck = [ "drf_extra_fields" ]; 50 50 51 - disabledTests = lib.optionals (pythonAtLeast "3.13") [ 52 - # https://github.com/Hipo/drf-extra-fields/issues/210 53 - "test_read_source_with_context" 54 - 55 - # pytz causes the following tests to fail 56 - "test_create" 57 - "test_create_with_base64_prefix" 58 - "test_create_with_webp_image" 59 - "test_remove_with_empty_string" 60 - ]; 51 + disabledTests = 52 + [ 53 + # pytz causes the following tests to fail 54 + "test_create" 55 + "test_create_with_base64_prefix" 56 + "test_create_with_webp_image" 57 + "test_remove_with_empty_string" 58 + ] 59 + ++ lib.optionals (pythonAtLeast "3.13") [ 60 + # https://github.com/Hipo/drf-extra-fields/issues/210 61 + "test_read_source_with_context" 62 + ]; 61 63 62 64 meta = { 63 65 description = "Extra Fields for Django Rest Framework";