python312Packages.yamlfix: ignore pytest warning

This commit is contained in:
Fabian Affolter 2024-04-29 20:41:39 +02:00
parent 5cf6ac148f
commit 6db53704c0

View file

@ -6,6 +6,7 @@
, pdm-backend , pdm-backend
, pytest-freezegun , pytest-freezegun
, pytest-xdist , pytest-xdist
, pytest
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, ruyaml , ruyaml
@ -51,38 +52,9 @@ buildPythonPackage rec {
"yamlfix" "yamlfix"
]; ];
disabledTests = [ pytestFlagsArray = [
# AssertionError: assert ... Fixed <stdin> in... "-W"
"test_anchors_and_aliases_with_duplicate_merge_keys" "ignore::DeprecationWarning"
"test_check_one_file_no_changes"
"test_config_parsing"
"test_corrects_code_from_stdin"
"test_corrects_one_file"
"test_corrects_three_files"
"test_empty_list_inline_comment_indentation"
"test_enforcing_flow_style_together_with_adjustable_newlines"
"test_find_files"
"test_fix_code_adds_header"
"test_fix_code_converts_non_valid_false_booleans"
"test_fix_code_corrects_indentation_on_lists"
"test_fix_code_doesnt_change_double_exclamation_marks"
"test_fix_code_doesnt_double_the_header"
"test_fix_code_functions_emit_debug_logs"
"test_fix_code_parses_files_with_multiple_documents"
"test_fix_code_preserves_indented_comments"
"test_fix_code_respects_apostrophes_for_truthy_substitutions"
"test_fix_files_can_process_string_arguments"
"test_ignores_correct_files"
"test_include_exclude_files"
"test_quote_values_config_and_preserve_quotes"
"test_read_prefixed_environment_variables"
"test_section_whitelines"
"test_sequence_block_style_config"
"test_sequence_keep_style_config"
"test_sequence_block_style_enforcement_for_lists_with_comments"
"test_sequence_style_env_enum_parsing"
"test_verbose_option"
"test_whitelines"
]; ];
meta = with lib; { meta = with lib; {