* Package: dev-util/vint-0.3.21 * Repository: gentoo * Maintainer: lucianposton@pm.me proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_9 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking vint-0.3.21.tar.gz to /var/tmp/portage/dev-util/vint-0.3.21/work >>> Source unpacked in /var/tmp/portage/dev-util/vint-0.3.21/work >>> Preparing source in /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21 ... * Applying vint-0.3.21-fix-py3.8.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21 ... * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 4 /usr/lib/python3.9/site-packages/setuptools/dist.py:757: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running build running build_py creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint copying vint/bootstrap.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint copying vint/asset.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint copying vint/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/utils copying vint/utils/array.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/utils copying vint/utils/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/utils creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting copying vint/linting/policy_set.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting copying vint/linting/policy_registry.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting copying vint/linting/linter.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting copying vint/linting/level.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting copying vint/linting/file_filter.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting copying vint/linting/env.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting copying vint/linting/cli.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting copying vint/linting/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/encodings copying vint/encodings/decoding_strategy.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/encodings copying vint/encodings/decoder.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/encodings copying vint/encodings/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/encodings creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/compat copying vint/compat/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/compat creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast copying vint/ast/traversing.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast copying vint/ast/parsing.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast copying vint/ast/node_type.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast copying vint/ast/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/_bundles copying vint/_bundles/vimlparser.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/_bundles copying vint/_bundles/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/_bundles creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_using_undeclared_variable.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_unused_variable.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_unnecessary_double_quote.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_set_nocompatible.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_no_abort_function.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_missing_scriptencoding.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_invalid_map_call.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_implicit_scope_variable.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_implicit_scope_builtin_variable.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_equal_tilde_operator.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_encoding_opt_after_scriptencoding.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_command_with_unintended_side_effect.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_command_rely_on_user.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_autocmd_with_no_group.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/prohibit_abbreviation_option.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/abstract_policy.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy copying vint/linting/policy/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/formatter copying vint/linting/formatter/statistic_formatter.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/formatter copying vint/linting/formatter/json_formatter.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/formatter copying vint/linting/formatter/formatter.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/formatter copying vint/linting/formatter/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/formatter creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_util.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_source.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_project_source.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_global_source.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_filenames.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_file_source.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_dict_source.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_default_source.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_container.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_comment_source.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/config_cmdargs_source.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config copying vint/linting/config/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/config creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy/reference copying vint/linting/policy/reference/googlevimscriptstyleguide.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy/reference copying vint/linting/policy/reference/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/linting/policy/reference creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/compat/unittest copying vint/compat/unittest/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/compat/unittest creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/compat/itertools copying vint/compat/itertools/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/compat/itertools creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin copying vint/ast/plugin/builtin_identifiers.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin copying vint/ast/plugin/abstract_ast_plugin.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin copying vint/ast/plugin/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/dictionary copying vint/ast/dictionary/builtins.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/dictionary copying vint/ast/dictionary/autocmd_events.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/dictionary copying vint/ast/dictionary/abbreviations.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/dictionary copying vint/ast/dictionary/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/dictionary creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin/scope_plugin copying vint/ast/plugin/scope_plugin/scope_linker.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin/scope_plugin copying vint/ast/plugin/scope_plugin/two_way_scope_reference_attacher.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin/scope_plugin copying vint/ast/plugin/scope_plugin/scope_detector.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin/scope_plugin copying vint/ast/plugin/scope_plugin/reference_reachability_tester.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin/scope_plugin copying vint/ast/plugin/scope_plugin/redir_assignment_parser.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin/scope_plugin copying vint/ast/plugin/scope_plugin/map_and_filter_parser.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin/scope_plugin copying vint/ast/plugin/scope_plugin/identifier_classifier.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin/scope_plugin copying vint/ast/plugin/scope_plugin/__init__.py -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/ast/plugin/scope_plugin creating /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/asset copying vint/asset/default_config.yaml -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/asset copying vint/asset/void_config.yaml -> /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21-python3_9/lib/vint/asset warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-util/vint-0.3.21 * python3_9: running distutils-r1_run_phase python_test python3.9 -m pytest -vv -ra -l -Wdefault --color=no -p no:cov -p no:flake8 -p no:flakes -p no:pylint ============================= test session starts ============================== platform linux -- Python 3.9.12, pytest-7.1.1, pluggy-1.0.0 -- /usr/bin/python3.9 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21 plugins: pkgcore-0.12.10, localserver-0.5.1, tornasync-0.6.0.post2, datadir-1.3.1, verbose-parametrize-1.7.0, pyfakefs-4.5.6, mock-3.7.0, console-scripts-1.3.1, Faker-13.3.3, ament-lint-0.12.1, ament-flake8-0.12.1, ament-pep257-0.12.1, ament-copyright-0.12.1, shutil-1.7.0, virtualenv-1.7.0, typeguard-2.13.3, freezegun-0.4.2, plus-0.2, bdd-5.0.0, env-0.6.2, helpers-namespace-2021.3.24, timeout-2.1.0 collecting ... collected 272 items test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_color_flag SKIPPED (Does drone.io not like ANSI color?) [ 0%] test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_invalid_file_on_project_root PASSED [ 0%] test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_json_flag PASSED [ 1%] test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_no_args FAILED [ 1%] test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_stat_flag PASSED [ 1%] test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_unexistent_file FAILED [ 2%] test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_valid_file_encoded_cp932_on_project_root PASSED [ 2%] test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_valid_file_on_project_root PASSED [ 2%] test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_verbose_flag FAILED [ 3%] test/acceptance/test_cli_vital.py::TestVintDoNotDiedWhenLintingVital::test_survive_after_linting PASSED [ 3%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_declarative_identifiers_referenced_with_referenced_all PASSED [ 4%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_declarative_identifiers_referenced_with_referenced_all_func PASSED [ 4%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_declarative_identifiers_referenced_with_referenced_all_funcs_in_func PASSED [ 4%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_declarative_identifiers_referenced_with_unreferenced_func_in_func PASSED [ 5%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_reference_reachability_with_referenced_all PASSED [ 5%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_reference_reachability_with_referenced_all_func PASSED [ 5%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_reference_reachability_with_referenced_all_funcs_in_func PASSED [ 6%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_reference_reachability_with_referenced_all_params PASSED [ 6%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_reference_reachability_with_referenced_loop_var PASSED [ 6%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_reference_reachability_with_unanalyzable PASSED [ 7%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_reference_reachability_with_unreferenced_func PASSED [ 7%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_reference_reachability_with_unreferenced_params PASSED [ 8%] test/integration/vint/ast/plugin/test_scope_plugin.py::TestScopePlugin::test_reference_reachability_with_unreferenced_var PASSED [ 8%] test/integration/vint/linting/test_linter.py::TestLinterIntegral::test_lint PASSED [ 8%] test/integration/vint/linting/test_linter.py::TestLinterIntegral::test_lint_with_broken_file PASSED [ 9%] test/integration/vint/linting/policy/test_prohibit_abbreviation_option.py::TestProhibitAbbreviationOption::test_get_violation_if_found_when_file_is_invalid_with_set PASSED [ 9%] test/integration/vint/linting/policy/test_prohibit_abbreviation_option.py::TestProhibitAbbreviationOption::test_get_violation_if_found_when_file_is_invalid_with_var PASSED [ 9%] test/integration/vint/linting/policy/test_prohibit_abbreviation_option.py::TestProhibitAbbreviationOption::test_get_violation_if_found_when_file_is_valid PASSED [ 10%] test/integration/vint/linting/policy/test_prohibit_autocmd_with_no_group.py::TestProhibitAutocmdWithNoGroup::test_get_violation_if_found_with_invalid_file PASSED [ 10%] test/integration/vint/linting/policy/test_prohibit_autocmd_with_no_group.py::TestProhibitAutocmdWithNoGroup::test_get_violation_if_found_with_valid_file_with_augroup PASSED [ 11%] test/integration/vint/linting/policy/test_prohibit_autocmd_with_no_group.py::TestProhibitAutocmdWithNoGroup::test_get_violation_if_found_with_valid_file_with_group_param PASSED [ 11%] test/integration/vint/linting/policy/test_prohibit_command_rely_on_user.py::TestProhibitCommandRelyOnUser::test_get_violation_if_found_when_file_is_invalid PASSED [ 11%] test/integration/vint/linting/policy/test_prohibit_command_rely_on_user.py::TestProhibitCommandRelyOnUser::test_get_violation_if_found_when_file_is_valid PASSED [ 12%] test/integration/vint/linting/policy/test_prohibit_command_with_unintented_side_effect.py::TestProhibitCommandWithUnintendedSideEffect::test_get_violation_if_found_with_invalid_file PASSED [ 12%] test/integration/vint/linting/policy/test_prohibit_command_with_unintented_side_effect.py::TestProhibitCommandWithUnintendedSideEffect::test_get_violation_if_found_with_valid_file PASSED [ 12%] test/integration/vint/linting/policy/test_prohibit_encoding_opt_after_scriptencoding.py::TestProhibitEncodingOptionAfterScriptEncoding::test_get_violation_if_found_with_invalid_file PASSED [ 13%] test/integration/vint/linting/policy/test_prohibit_encoding_opt_after_scriptencoding.py::TestProhibitEncodingOptionAfterScriptEncoding::test_get_violation_if_found_with_valid_file PASSED [ 13%] test/integration/vint/linting/policy/test_prohibit_encoding_opt_after_scriptencoding.py::TestProhibitEncodingOptionAfterScriptEncoding::test_get_violation_if_found_with_valid_file_no_encoding_option PASSED [ 13%] test/integration/vint/linting/policy/test_prohibit_encoding_opt_after_scriptencoding.py::TestProhibitEncodingOptionAfterScriptEncoding::test_get_violation_if_found_with_valid_file_no_scriptencoding PASSED [ 14%] test/integration/vint/linting/policy/test_prohibit_equal_tilde_operator.py::TestProhibitEqualTildeOperator::test_get_violation_if_found_when_file_is_invalid PASSED [ 14%] test/integration/vint/linting/policy/test_prohibit_equal_tilde_operator.py::TestProhibitEqualTildeOperator::test_get_violation_if_found_when_file_is_valid PASSED [ 15%] test/integration/vint/linting/policy/test_prohibit_implicit_scope_builtin_variable.py::TestProhibitImplicitScopeBuiltinVariable::test_get_violation_if_found_when_file_is_invalid PASSED [ 15%] test/integration/vint/linting/policy/test_prohibit_implicit_scope_builtin_variable.py::TestProhibitImplicitScopeBuiltinVariable::test_get_violation_if_found_when_file_is_valid PASSED [ 15%] test/integration/vint/linting/policy/test_prohibit_implicit_scope_variable.py::TestProhibitImplicitScopeVariable::test_get_violation_if_found_when_file_is_invalid PASSED [ 16%] test/integration/vint/linting/policy/test_prohibit_implicit_scope_variable.py::TestProhibitImplicitScopeVariable::test_get_violation_if_found_when_file_is_valid PASSED [ 16%] test/integration/vint/linting/policy/test_prohibit_invalid_map_call.py::TestProhibitInvalidMapCall::test_get_violation_if_found_with_invalid PASSED [ 16%] test/integration/vint/linting/policy/test_prohibit_invalid_map_call.py::TestProhibitInvalidMapCall::test_get_violation_if_found_with_valid PASSED [ 17%] test/integration/vint/linting/policy/test_prohibit_missing_scriptencoding.py::TestProhibitMissingScriptEncoding::test_get_violation_if_found_with_invalid_file PASSED [ 17%] test/integration/vint/linting/policy/test_prohibit_missing_scriptencoding.py::TestProhibitMissingScriptEncoding::test_get_violation_if_found_with_valid_file_no_multibyte_char PASSED [ 18%] test/integration/vint/linting/policy/test_prohibit_missing_scriptencoding.py::TestProhibitMissingScriptEncoding::test_get_violation_if_found_with_valid_file_scriptencoding PASSED [ 18%] test/integration/vint/linting/policy/test_prohibit_no_abort_function.py::TestProhibitNoAbortFunction::test_get_violation_if_found_when_file_is_invalid PASSED [ 18%] test/integration/vint/linting/policy/test_prohibit_no_abort_function.py::TestProhibitNoAbortFunction::test_get_violation_if_found_when_file_is_valid PASSED [ 19%] test/integration/vint/linting/policy/test_prohibit_no_abort_function.py::TestProhibitNoAbortFunction::test_get_violation_if_found_when_file_is_valid_out_of_autoload PASSED [ 19%] test/integration/vint/linting/policy/test_prohibit_set_nocompatible.py::TestProhibitSetNoCompatible::test_get_violation_if_found_with_invalid_file PASSED [ 19%] test/integration/vint/linting/policy/test_prohibit_set_nocompatible.py::TestProhibitSetNoCompatible::test_get_violation_if_found_with_invalid_file_with_abbreviation PASSED [ 20%] test/integration/vint/linting/policy/test_prohibit_set_nocompatible.py::TestProhibitSetNoCompatible::test_get_violation_if_found_with_valid PASSED [ 20%] test/integration/vint/linting/policy/test_prohibit_unnecessary_double_quote.py::TestProhibitUnnecessaryDoubleQuote::test_get_violation_if_found_when_file_is_invalid PASSED [ 20%] test/integration/vint/linting/policy/test_prohibit_unnecessary_double_quote.py::TestProhibitUnnecessaryDoubleQuote::test_get_violation_if_found_when_file_is_valid PASSED [ 21%] test/integration/vint/linting/policy/test_prohibit_unused_variable.py::TestProhibitUnusedVariable::test_get_violation_if_found_when_file_is_invalid PASSED [ 21%] test/integration/vint/linting/policy/test_prohibit_unused_variable.py::TestProhibitUnusedVariable::test_get_violation_if_found_when_file_is_valid PASSED [ 22%] test/integration/vint/linting/policy/test_prohibit_using_undeclared_variable.py::TestProhibitUsingUndeclaredVariable::test_get_violation_if_found_when_file_is_invalid PASSED [ 22%] test/integration/vint/linting/policy/test_prohibit_using_undeclared_variable.py::TestProhibitUsingUndeclaredVariable::test_get_violation_if_found_when_file_is_valid PASSED [ 22%] test/unit/vint/ast/test_node_type.py::TestNodeType::test_get_node_type_name PASSED [ 23%] test/unit/vint/ast/test_parsing.py::TestParser::test_parse_empty_file PASSED [ 23%] test/unit/vint/ast/test_parsing.py::TestParser::test_parse_file PASSED [ 23%] test/unit/vint/ast/test_parsing.py::TestParser::test_parse_file_on_ff_dos_and_fenc_cp932 PASSED [ 24%] test/unit/vint/ast/test_parsing.py::TestParser::test_parse_file_when_neovim_enabled PASSED [ 24%] test/unit/vint/ast/test_parsing.py::TestParser::test_parse_redir_with_dot PASSED [ 25%] test/unit/vint/ast/test_parsing.py::TestParser::test_parse_redir_with_identifier PASSED [ 25%] test/unit/vint/ast/test_parsing.py::TestParser::test_parse_string_expr PASSED [ 25%] test/unit/vint/ast/test_traversing.py::TestTraverse::test_traverse PASSED [ 26%] test/unit/vint/ast/test_traversing.py::TestTraverse::test_traverse_ignoring_while_children PASSED [ 26%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_arithmetic_assignment PASSED [ 26%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_calling_func PASSED [ 27%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_declaring_func PASSED [ 27%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_declaring_func_in_func PASSED [ 27%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_declaring_var PASSED [ 28%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_declaring_var_in_func PASSED [ 28%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_declaring_with_dict_key PASSED [ 29%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_destructuring_assignment PASSED [ 29%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_func_param PASSED [ 29%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_loop_var PASSED [ 30%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_map_func PASSED [ 30%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_classifier.py::TestIdentifierClassifier::test_attach_identifier_attributes_with_redir PASSED [ 30%] test/unit/vint/ast/plugin/scope_plugin/test_identifier_collector.py::TestIdentifierCollector::test_bucket PASSED [ 31%] test/unit/vint/ast/plugin/scope_plugin/test_map_and_filter_parser.py::TestMapAndFilterParser::test_issue_256 PASSED [ 31%] test/unit/vint/ast/plugin/scope_plugin/test_map_and_filter_parser.py::TestMapAndFilterParser::test_nested_filter PASSED [ 31%] test/unit/vint/ast/plugin/scope_plugin/test_map_and_filter_parser.py::TestMapAndFilterParser::test_nested_map PASSED [ 32%] test/unit/vint/ast/plugin/scope_plugin/test_map_and_filter_parser.py::TestMapAndFilterParser::test_process_with_filter_function PASSED [ 32%] test/unit/vint/ast/plugin/scope_plugin/test_map_and_filter_parser.py::TestMapAndFilterParser::test_process_with_map_function PASSED [ 33%] test/unit/vint/ast/plugin/scope_plugin/test_map_and_filter_parser.py::TestMapAndFilterParser::test_traverse PASSED [ 33%] test/unit/vint/ast/plugin/scope_plugin/test_redir_assignment_parser.py::TestRedirAssignmentParser::test_process PASSED [ 33%] test/unit/vint/ast/plugin/scope_plugin/test_redir_assignment_parser.py::TestRedirAssignmentParser::test_traverse PASSED [ 34%] test/unit/vint/ast/plugin/scope_plugin/test_reference_reachability_tester.py::TestReferenceReachabilityTester::test_builtin_reference_by_process PASSED [ 34%] test/unit/vint/ast/plugin/scope_plugin/test_reference_reachability_tester.py::TestReferenceReachabilityTester::test_reachable_reference_by_process PASSED [ 34%] test/unit/vint/ast/plugin/scope_plugin/test_reference_reachability_tester.py::TestReferenceReachabilityTester::test_referenced_function_reference_by_process PASSED [ 35%] test/unit/vint/ast/plugin/scope_plugin/test_reference_reachability_tester.py::TestReferenceReachabilityTester::test_referenced_variable_by_process PASSED [ 35%] test/unit/vint/ast/plugin/scope_plugin/test_reference_reachability_tester.py::TestReferenceReachabilityTester::test_referenced_variable_reference_by_process PASSED [ 36%] test/unit/vint/ast/plugin/scope_plugin/test_reference_reachability_tester.py::TestReferenceReachabilityTester::test_unreachable_reference_by_process PASSED [ 36%] test/unit/vint/ast/plugin/scope_plugin/test_reference_reachability_tester.py::TestReferenceReachabilityTester::test_unreferenced_reference_by_process PASSED [ 36%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'g:expl......] PASSED [ 37%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'implic......] PASSED [ 37%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'g:expl....] PASSED [ 37%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'b:buff......] PASSED [ 38%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'b:buff....] PASSED [ 38%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'w:wind......] PASSED [ 38%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'w:wind....] PASSED [ 39%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 's:scri......] PASSED [ 39%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 's:scri....] PASSED [ 40%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'l:expl....] PASSED [ 40%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'implic....] PASSED [ 40%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'param'....] PASSED [ 41%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'v:coun......] PASSED [ 41%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'v:coun....] PASSED [ 41%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'count'....] PASSED [ 42%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 87, 'value': [{'type......] PASSED [ 42%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 87, 'value': [{'type....] PASSED [ 43%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'member......] PASSED [ 43%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'member....] PASSED [ 43%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'g:Expl......] PASSED [ 44%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'Implic......] PASSED [ 44%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'g:file......] PASSED [ 44%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'file#i......] PASSED [ 45%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'g:Expl....] PASSED [ 45%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'Implic....] PASSED [ 45%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'g:file....] PASSED [ 46%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'file#i....] PASSED [ 46%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 's:Scri......] PASSED [ 47%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 's:Scri....] PASSED [ 47%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 't:Inva......] PASSED [ 47%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'g:expl......#30] PASSED [ 48%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'implic......#31] PASSED [ 48%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'g:expl....#32] PASSED [ 48%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'b:buff......#33] PASSED [ 49%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'b:buff....#34] PASSED [ 49%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'w:wind......#35] PASSED [ 50%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'w:wind....#36] PASSED [ 50%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 's:scri......#37] PASSED [ 50%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 's:scri....#38] PASSED [ 51%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'l:expl....#39] PASSED [ 51%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'implic....#40] PASSED [ 51%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'a:para....] PASSED [ 52%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'a:000'....] PASSED [ 52%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'a:1', ....] PASSED [ 52%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'v:coun......#44] PASSED [ 53%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'v:coun....#45] PASSED [ 53%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'count'....#46] PASSED [ 54%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'localt......] PASSED [ 54%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 87, 'value': [{'type......#48] PASSED [ 54%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 87, 'value': [{'type....#49] PASSED [ 55%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'member......#50] PASSED [ 55%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'member....#51] PASSED [ 55%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'g:Expl......#52] PASSED [ 56%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'Implic......#53] PASSED [ 56%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'g:file......#54] PASSED [ 56%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'file#i......#55] PASSED [ 57%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'g:Expl....#56] PASSED [ 57%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'Implic....#57] PASSED [ 58%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'g:file....#58] PASSED [ 58%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'file#i....#59] PASSED [ 58%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 's:Scri......#60] PASSED [ 59%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 's:Scri....#61] PASSED [ 59%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_detect_scope_visibility[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 't:TabL......] PASSED [ 59%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'g:expl......] PASSED [ 60%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'implic......] PASSED [ 60%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'implic......#2] PASSED [ 61%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'l:expl....] PASSED [ 61%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'implic....] PASSED [ 61%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'implic....#5] PASSED [ 62%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'g:Expl......] PASSED [ 62%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 's:Expl......] PASSED [ 62%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'Implic......] PASSED [ 63%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'Implic....] PASSED [ 63%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 's:Expl....] PASSED [ 63%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'Implic......#11] PASSED [ 64%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'l:expl....#12] PASSED [ 64%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'implic....#13] PASSED [ 65%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'implic....#14] PASSED [ 65%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'param'....] PASSED [ 65%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'v:coun......] PASSED [ 66%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'v:coun....] PASSED [ 66%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.FUNCTION_LOCAL-{'type': 86, 'value': 'count'....] PASSED [ 66%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 86, 'value': 'localt......] PASSED [ 67%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 88, 'value': '$ENV',......] PASSED [ 67%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 85, 'value': '&OPT',......] PASSED [ 68%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_normalize_variable_name[ScopeVisibility.SCRIPT_LOCAL-{'type': 89, 'value': '@"', '...-@"] PASSED [ 68%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_is_builtin_variable[my_var-False-False] PASSED [ 68%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_is_builtin_variable[count-False-True] PASSED [ 69%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_is_builtin_variable[v:count-False-True] PASSED [ 69%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_is_builtin_variable[key-False-False] PASSED [ 69%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_is_builtin_variable[val-False-False] PASSED [ 70%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_is_builtin_variable[MyFunc-True-False] PASSED [ 70%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_is_builtin_variable[localtime-True-True] PASSED [ 70%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_get_explicity_of_scope_visibility[{'type': 86, 'value': 'my_var...-ExplicityOfScopeVisibility.I...] PASSED [ 71%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_get_explicity_of_scope_visibility[{'type': 86, 'value': 'g:my_v...-ExplicityOfScopeVisibility.E...] PASSED [ 71%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_get_explicity_of_scope_visibility[{'type': 86, 'value': 'param'...-ExplicityOfScopeVisibility.E...] PASSED [ 72%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_get_explicity_of_scope_visibility[{'type': 86, 'value': 'localt...-ExplicityOfScopeVisibility.E...] PASSED [ 72%] test/unit/vint/ast/plugin/scope_plugin/test_scope_detector.py::test_get_explicity_of_scope_visibility[{'type': 87, 'value': [{'type...-ExplicityOfScopeVisibility.U...] PASSED [ 72%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_declarative_identifier_links_by_process PASSED [ 73%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_identifier_links_by_process PASSED [ 73%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_reference_variable_links_by_process PASSED [ 73%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_declaring_func PASSED [ 74%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_declaring_func_in_func PASSED [ 74%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_declaring_var PASSED [ 75%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_declaring_var_in_func PASSED [ 75%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_declaring_with_dict_key PASSED [ 75%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_destructuring_assignment PASSED [ 76%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_func_call PASSED [ 76%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_func_param PASSED [ 76%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_loop_var PASSED [ 77%] test/unit/vint/ast/plugin/scope_plugin/test_scope_linker.py::TestScopeLinker::test_built_scope_tree_by_process_with_redir PASSED [ 77%] test/unit/vint/ast/plugin/scope_plugin/test_two_way_scope_reference_attacher.py::TestTwoWayScopeReferenceAttacher::test_attach PASSED [ 77%] test/unit/vint/linting/test_cli.py::TestCLI::test_passing_code_to_stdin_lints_the_code_from_stdin PASSED [ 78%] test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_both_calid_invalid_file_paths PASSED [ 78%] test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_invalid_file_path PASSED [ 79%] test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_no_arg PASSED [ 79%] test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_unexistent_file_path PASSED [ 79%] test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_valid_file_path PASSED [ 80%] test/unit/vint/linting/test_env.py::TestEnv::test_build_environment PASSED [ 80%] test/unit/vint/linting/test_file_filter.py::TestFileFilter::test_find_vim_script_by_given_a_file_path PASSED [ 80%] test/unit/vint/linting/test_file_filter.py::TestFileFilter::test_find_vim_script_by_given_a_vim_script_unlinke_file_path PASSED [ 81%] test/unit/vint/linting/test_file_filter.py::TestFileFilter::test_find_vim_script_by_given_nested_dir PASSED [ 81%] test/unit/vint/linting/test_file_filter.py::TestFileFilter::test_find_vim_script_by_given_no_file_paths PASSED [ 81%] test/unit/vint/linting/test_file_filter.py::TestFileFilter::test_find_vim_script_by_given_several_vim_script PASSED [ 82%] test/unit/vint/linting/test_level.py::TestLevel::test_is_level_enabled_with_higher_level PASSED [ 82%] test/unit/vint/linting/test_level.py::TestLevel::test_is_level_enabled_with_lower_level PASSED [ 83%] test/unit/vint/linting/test_level.py::TestLevel::test_is_level_enabled_with_same_level PASSED [ 83%] test/unit/vint/linting/test_policy_set.py::TestPolicySet::test_get_enabled_policies_when_no_updated PASSED [ 83%] test/unit/vint/linting/test_policy_set.py::TestPolicySet::test_get_enabled_policies_with_a_disabled_option PASSED [ 84%] test/unit/vint/linting/test_policy_set.py::TestPolicySet::test_get_enabled_policies_with_severity_style_problem PASSED [ 84%] test/unit/vint/linting/test_policy_set.py::TestPolicySet::test_get_enabled_policies_with_severity_warning PASSED [ 84%] test/unit/vint/linting/config/test_config_cmdargs_source.py::TestConfigFileSource::test_get_config_dict PASSED [ 85%] test/unit/vint/linting/config/test_config_cmdargs_source.py::TestConfigFileSource::test_get_config_dict_with_no_severity PASSED [ 85%] test/unit/vint/linting/config/test_config_cmdargs_source.py::TestConfigFileSource::test_get_config_dict_with_severity_error PASSED [ 86%] test/unit/vint/linting/config/test_config_cmdargs_source.py::TestConfigFileSource::test_get_config_dict_with_severity_style_problem PASSED [ 86%] test/unit/vint/linting/config/test_config_cmdargs_source.py::TestConfigFileSource::test_get_config_dict_with_severity_warning PASSED [ 86%] test/unit/vint/linting/config/test_config_comment_source.py::TestConfigCommentSource::test_get_config_dict PASSED [ 87%] test/unit/vint/linting/config/test_config_comment_source.py::TestConfigCommentSource::test_is_requesting_update_when_config_comment_arrived PASSED [ 87%] test/unit/vint/linting/config/test_config_comment_source.py::TestConfigCommentSource::test_is_requesting_update_when_just_comment_arrived PASSED [ 87%] test/unit/vint/linting/config/test_config_comment_source.py::TestConfigCommentSource::test_is_requesting_update_when_other_node_arrived PASSED [ 88%] test/unit/vint/linting/config/test_config_comment_source.py::TestConfigCommentSource::test_update_by_node_by_multiple_switches PASSED [ 88%] test/unit/vint/linting/config/test_config_comment_source.py::TestConfigCommentSource::test_update_by_node_by_no_switches PASSED [ 88%] test/unit/vint/linting/config/test_config_comment_source.py::TestConfigCommentSource::test_update_by_node_by_single_switch PASSED [ 89%] test/unit/vint/linting/config/test_config_container.py::TestConfigContainer::test_get_config_dict PASSED [ 89%] test/unit/vint/linting/config/test_config_default_source.py::TestConfigDefaultSource::test_get_config_dict PASSED [ 90%] test/unit/vint/linting/config/test_config_dict_source.py::TestConfigDictSource::test_get_config_dict PASSED [ 90%] test/unit/vint/linting/config/test_config_file_source.py::TestConfigFileSource::test_get_config_dict PASSED [ 90%] test/unit/vint/linting/config/test_config_global_source.py::TestConfigGlobalSource::test_get_config_dict PASSED [ 91%] test/unit/vint/linting/config/test_config_global_source.py::TestConfigGlobalSource::test_get_config_dict_with_default_xdg_config_home PASSED [ 91%] test/unit/vint/linting/config/test_config_global_source.py::TestConfigGlobalSource::test_get_config_dict_with_no_global_config PASSED [ 91%] test/unit/vint/linting/config/test_config_project_source.py::TestConfigProjectSource::test_get_config_dict PASSED [ 92%] test/unit/vint/linting/config/test_config_project_source.py::TestConfigProjectSource::test_get_config_dict_for_no_extname PASSED [ 92%] test/unit/vint/linting/config/test_config_project_source.py::TestConfigProjectSource::test_get_config_dict_for_short_extname PASSED [ 93%] test/unit/vint/linting/config/test_config_project_source.py::TestConfigProjectSource::test_get_config_dict_on_sub_directory PASSED [ 93%] test/unit/vint/linting/config/test_config_project_source.py::TestConfigProjectSource::test_get_config_dict_with_no_global_config PASSED [ 93%] test/unit/vint/linting/config/test_config_util.py::TestConfigUtil::test_get_config_value_when_empty PASSED [ 94%] test/unit/vint/linting/config/test_config_util.py::TestConfigUtil::test_get_config_value_when_given_default PASSED [ 94%] test/unit/vint/linting/config/test_config_util.py::TestConfigUtil::test_get_config_value_when_given_default_but_not_used PASSED [ 94%] test/unit/vint/linting/config/test_config_util.py::TestConfigUtil::test_get_config_value_when_nested_1_depth PASSED [ 95%] test/unit/vint/linting/config/test_config_util.py::TestConfigUtil::test_get_config_value_when_nested_2_depth PASSED [ 95%] test/unit/vint/linting/config/test_config_util.py::TestConfigUtil::test_get_config_value_when_target_is_depth_2_unexistent_dict PASSED [ 95%] test/unit/vint/linting/config/test_config_util.py::TestConfigUtil::test_get_config_value_when_target_is_dict PASSED [ 96%] test/unit/vint/linting/formatter/test_formatter.py::TestFormatter::test_format_violations PASSED [ 96%] test/unit/vint/linting/formatter/test_formatter.py::TestFormatter::test_format_violations_with_format_option PASSED [ 97%] test/unit/vint/linting/formatter/test_json_formatter.py::TestJSONFormatter::test_format_violations PASSED [ 97%] test/unit/vint/linting/policy/test_abstract_policy.py::TestAbstractPolicy::test_create_violation_report PASSED [ 97%] test/unit/vint/linting/policy/test_abstract_policy.py::TestAbstractPolicy::test_get_policy_options PASSED [ 98%] test/unit/vint/linting/policy/test_abstract_policy.py::TestAbstractPolicy::test_listen_node_types PASSED [ 98%] test/unit/vint/linting/policy/reference/test_googlevimscriptstyleguide.py::TestGoogleVimScriptStyleGuide::test_get_reference_source PASSED [ 98%] test/unit/vint/utils/test_array.py::TestUtilsArray::test_flat_map PASSED [ 99%] test/unit/vint/utils/test_array.py::TestUtilsArray::test_flatten_empty PASSED [ 99%] test/unit/vint/utils/test_array.py::TestUtilsArray::test_flatten_not_empty PASSED [100%] =================================== FAILURES =================================== _____________________ TestCLI.test_exec_vint_with_no_args ______________________ self = def test_exec_vint_with_no_args(self): cmd = ['bin/vint'] with self.assertRaises(subprocess.CalledProcessError) as context_manager: subprocess.check_output(cmd, stderr=subprocess.STDOUT, universal_newlines=True) got_output = context_manager.exception.output expected_output_pattern = r'^vint ERROR:' > self.assertRegex(got_output, expected_output_pattern) cmd = ['bin/vint'] context_manager = expected_output_pattern = '^vint ERROR:' got_output = ('/usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: ' 'PkgResourcesDeprecationWarning: unknown is an invalid version and will not ' 'be supported in a future release\n' ' warnings.warn(\n' 'vint ERROR: nothing to check\n' 'usage: vint [-h] [-v] [-V] [-e] [-w] [-s] [-m MAX_VIOLATIONS] [-c]\n' ' [--no-color] [-j] [-t] [--enable-neovim] [-f FORMAT]\n' ' [files ...]\n' '\n' 'Lint Vim script\n' '\n' 'positional arguments:\n' ' files file or directory path to lint\n' '\n' 'optional arguments:\n' ' -h, --help show this help message and exit\n' " -v, --version show program's version number and exit\n" ' -V, --verbose output verbose message\n' ' -e, --error report only errors\n' ' -w, --warning report errors and warnings\n' ' -s, --style-problem report errors, warnings and style problems\n' ' -m MAX_VIOLATIONS, --max-violations MAX_VIOLATIONS\n' ' limit max violations count\n' ' -c, --color colorize output when possible\n' ' --no-color do not colorize output\n' ' -j, --json output json style\n' ' -t, --stat output statistic info\n' ' --enable-neovim Enable Neovim syntax\n' ' -f FORMAT, --format FORMAT\n' ' set output format\n') self = test/acceptance/test_cli.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/acceptance/test_cli.py:11: in assertRegex assertRegexpMatches(string, pattern) E AssertionError: Regex didn't match: '^vint ERROR:' not found in "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: PkgResourcesDeprecationWarning: unknown is an invalid version and will not be supported in a future release\n warnings.warn(\nvint ERROR: nothing to check\nusage: vint [-h] [-v] [-V] [-e] [-w] [-s] [-m MAX_VIOLATIONS] [-c]\n [--no-color] [-j] [-t] [--enable-neovim] [-f FORMAT]\n [files ...]\n\nLint Vim script\n\npositional arguments:\n files file or directory path to lint\n\noptional arguments:\n -h, --help show this help message and exit\n -v, --version show program's version number and exit\n -V, --verbose output verbose message\n -e, --error report only errors\n -w, --warning report errors and warnings\n -s, --style-problem report errors, warnings and style problems\n -m MAX_VIOLATIONS, --max-violations MAX_VIOLATIONS\n limit max violations count\n -c, --color colorize output when possible\n --no-color do not colorize output\n -j, --json output json style\n -t, --stat output statistic info\n --enable-neovim Enable Neovim syntax\n -f FORMAT, --format FORMAT\n set output format\n" __class__ = assertRegexpMatches = .deprecated_func of > pattern = '^vint ERROR:' self = string = ('/usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: ' 'PkgResourcesDeprecationWarning: unknown is an invalid version and will not ' 'be supported in a future release\n' ' warnings.warn(\n' 'vint ERROR: nothing to check\n' 'usage: vint [-h] [-v] [-V] [-e] [-w] [-s] [-m MAX_VIOLATIONS] [-c]\n' ' [--no-color] [-j] [-t] [--enable-neovim] [-f FORMAT]\n' ' [files ...]\n' '\n' 'Lint Vim script\n' '\n' 'positional arguments:\n' ' files file or directory path to lint\n' '\n' 'optional arguments:\n' ' -h, --help show this help message and exit\n' " -v, --version show program's version number and exit\n" ' -V, --verbose output verbose message\n' ' -e, --error report only errors\n' ' -w, --warning report errors and warnings\n' ' -s, --style-problem report errors, warnings and style problems\n' ' -m MAX_VIOLATIONS, --max-violations MAX_VIOLATIONS\n' ' limit max violations count\n' ' -c, --color colorize output when possible\n' ' --no-color do not colorize output\n' ' -j, --json output json style\n' ' -t, --stat output statistic info\n' ' --enable-neovim Enable Neovim syntax\n' ' -f FORMAT, --format FORMAT\n' ' set output format\n') _________________ TestCLI.test_exec_vint_with_unexistent_file __________________ self = def test_exec_vint_with_unexistent_file(self): cmd = ['bin/vint', '/path/to/unexistent'] with self.assertRaises(subprocess.CalledProcessError) as context_manager: subprocess.check_output(cmd, stderr=subprocess.STDOUT, universal_newlines=True) got_output = context_manager.exception.output expected_output_pattern = r'^vint ERROR:' > self.assertRegex(got_output, expected_output_pattern) cmd = ['bin/vint', '/path/to/unexistent'] context_manager = expected_output_pattern = '^vint ERROR:' got_output = ('/usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: ' 'PkgResourcesDeprecationWarning: unknown is an invalid version and will not ' 'be supported in a future release\n' ' warnings.warn(\n' 'vint ERROR: no such file or directory: `/path/to/unexistent`\n') self = test/acceptance/test_cli.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/acceptance/test_cli.py:11: in assertRegex assertRegexpMatches(string, pattern) E AssertionError: Regex didn't match: '^vint ERROR:' not found in '/usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: PkgResourcesDeprecationWarning: unknown is an invalid version and will not be supported in a future release\n warnings.warn(\nvint ERROR: no such file or directory: `/path/to/unexistent`\n' __class__ = assertRegexpMatches = .deprecated_func of > pattern = '^vint ERROR:' self = string = ('/usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: ' 'PkgResourcesDeprecationWarning: unknown is an invalid version and will not ' 'be supported in a future release\n' ' warnings.warn(\n' 'vint ERROR: no such file or directory: `/path/to/unexistent`\n') ___________________ TestCLI.test_exec_vint_with_verbose_flag ___________________ self = def test_exec_vint_with_verbose_flag(self): valid_file = str(Path('test', 'fixture', 'cli', 'valid1.vim')) cmd = ['bin/vint', '--verbose', valid_file] got_output = subprocess.check_output(cmd, universal_newlines=True, stderr=subprocess.STDOUT) expected_output_pattern = r'^vint DEBUG:' > self.assertRegex(got_output, expected_output_pattern) cmd = ['bin/vint', '--verbose', 'test/fixture/cli/valid1.vim'] expected_output_pattern = '^vint DEBUG:' got_output = ('/usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: ' 'PkgResourcesDeprecationWarning: unknown is an invalid version and will not ' 'be supported in a future release\n' ' warnings.warn(\n' 'vint DEBUG: checking: `test/fixture/cli/valid1.vim`\n' 'vint DEBUG: severity: WARNING\n' 'vint DEBUG: disabled: ProhibitAbbreviationOption\n' 'vint DEBUG: enabled: ProhibitAutocmdWithNoGroup\n' 'vint DEBUG: enabled: ProhibitCommandRelyOnUser\n' 'vint DEBUG: enabled: ProhibitCommandWithUnintendedSideEffect\n' 'vint DEBUG: enabled: ProhibitEncodingOptionAfterScriptEncoding\n' 'vint DEBUG: enabled: ProhibitEqualTildeOperator\n' 'vint DEBUG: enabled: ProhibitImplicitScopeBuiltinVariable\n' 'vint DEBUG: disabled: ProhibitImplicitScopeVariable\n' 'vint DEBUG: enabled: ProhibitInvalidMapCall\n' 'vint DEBUG: enabled: ProhibitMissingScriptEncoding\n' 'vint DEBUG: enabled: ProhibitNoAbortFunction\n' 'vint DEBUG: enabled: ProhibitSetNoCompatible\n' 'vint DEBUG: enabled: ProhibitUnnecessaryDoubleQuote\n' 'vint DEBUG: disabled: ProhibitUnusedVariable\n' 'vint DEBUG: enabled: ProhibitUsingUndeclaredVariable\n') self = valid_file = 'test/fixture/cli/valid1.vim' test/acceptance/test_cli.py:130: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/acceptance/test_cli.py:11: in assertRegex assertRegexpMatches(string, pattern) E AssertionError: Regex didn't match: '^vint DEBUG:' not found in '/usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: PkgResourcesDeprecationWarning: unknown is an invalid version and will not be supported in a future release\n warnings.warn(\nvint DEBUG: checking: `test/fixture/cli/valid1.vim`\nvint DEBUG: severity: WARNING\nvint DEBUG: disabled: ProhibitAbbreviationOption\nvint DEBUG: enabled: ProhibitAutocmdWithNoGroup\nvint DEBUG: enabled: ProhibitCommandRelyOnUser\nvint DEBUG: enabled: ProhibitCommandWithUnintendedSideEffect\nvint DEBUG: enabled: ProhibitEncodingOptionAfterScriptEncoding\nvint DEBUG: enabled: ProhibitEqualTildeOperator\nvint DEBUG: enabled: ProhibitImplicitScopeBuiltinVariable\nvint DEBUG: disabled: ProhibitImplicitScopeVariable\nvint DEBUG: enabled: ProhibitInvalidMapCall\nvint DEBUG: enabled: ProhibitMissingScriptEncoding\nvint DEBUG: enabled: ProhibitNoAbortFunction\nvint DEBUG: enabled: ProhibitSetNoCompatible\nvint DEBUG: enabled: ProhibitUnnecessaryDoubleQuote\nvint DEBUG: disabled: ProhibitUnusedVariable\nvint DEBUG: enabled: ProhibitUsingUndeclaredVariable\n' __class__ = assertRegexpMatches = .deprecated_func of > pattern = '^vint DEBUG:' self = string = ('/usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: ' 'PkgResourcesDeprecationWarning: unknown is an invalid version and will not ' 'be supported in a future release\n' ' warnings.warn(\n' 'vint DEBUG: checking: `test/fixture/cli/valid1.vim`\n' 'vint DEBUG: severity: WARNING\n' 'vint DEBUG: disabled: ProhibitAbbreviationOption\n' 'vint DEBUG: enabled: ProhibitAutocmdWithNoGroup\n' 'vint DEBUG: enabled: ProhibitCommandRelyOnUser\n' 'vint DEBUG: enabled: ProhibitCommandWithUnintendedSideEffect\n' 'vint DEBUG: enabled: ProhibitEncodingOptionAfterScriptEncoding\n' 'vint DEBUG: enabled: ProhibitEqualTildeOperator\n' 'vint DEBUG: enabled: ProhibitImplicitScopeBuiltinVariable\n' 'vint DEBUG: disabled: ProhibitImplicitScopeVariable\n' 'vint DEBUG: enabled: ProhibitInvalidMapCall\n' 'vint DEBUG: enabled: ProhibitMissingScriptEncoding\n' 'vint DEBUG: enabled: ProhibitNoAbortFunction\n' 'vint DEBUG: enabled: ProhibitSetNoCompatible\n' 'vint DEBUG: enabled: ProhibitUnnecessaryDoubleQuote\n' 'vint DEBUG: disabled: ProhibitUnusedVariable\n' 'vint DEBUG: enabled: ProhibitUsingUndeclaredVariable\n') =============================== warnings summary =============================== test/acceptance/test_cli.py:143 /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21/test/acceptance/test_cli.py:143: DeprecationWarning: invalid escape sequence \[ expected_output_pattern = '\\033\[' vint/_bundles/vimlparser.py:50 /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21/vint/_bundles/vimlparser.py:50: DeprecationWarning: invalid escape sequence \+ "^++" : "^\+\+", vint/_bundles/vimlparser.py:4087 /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21/vint/_bundles/vimlparser.py:4087: DeprecationWarning: invalid escape sequence \e return ["\\e", viml_char2nr("\e")] test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_invalid_file_on_project_root test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_no_args test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_stat_flag test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_unexistent_file test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_verbose_flag /var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21/test/acceptance/test_cli.py:11: DeprecationWarning: Please use assertRegex instead. assertRegexpMatches(string, pattern) test/unit/vint/linting/test_cli.py::TestCLI::test_passing_code_to_stdin_lints_the_code_from_stdin test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_both_calid_invalid_file_paths test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_invalid_file_path test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_no_arg test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_unexistent_file_path test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_valid_file_path /usr/lib/python3.9/site-packages/pkg_resources/__init__.py:122: PkgResourcesDeprecationWarning: unknown is an invalid version and will not be supported in a future release warnings.warn( test/unit/vint/linting/test_cli.py::TestCLI::test_passing_code_to_stdin_lints_the_code_from_stdin test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_both_calid_invalid_file_paths test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_invalid_file_path test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_no_arg test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_unexistent_file_path test/unit/vint/linting/test_cli.py::TestCLI::test_start_with_valid_file_path /usr/lib/python3.9/site-packages/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [1] test/acceptance/test_cli.py:133: Does drone.io not like ANSI color? FAILED test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_no_args - As... FAILED test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_unexistent_file FAILED test/acceptance/test_cli.py::TestCLI::test_exec_vint_with_verbose_flag ============ 3 failed, 268 passed, 1 skipped, 20 warnings in 12.63s ============ * ERROR: dev-util/vint-0.3.21::gentoo failed (test phase): * pytest failed with python3.9 * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 3225: Called distutils-r1_src_test * environment, line 1527: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 603: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2902: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2451: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2449: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 979: Called distutils-r1_run_phase 'python_test' * environment, line 1454: Called python_test * environment, line 3192: Called distutils-r1_python_test * environment, line 1406: Called epytest * environment, line 1962: Called die * The specific snippet of code: * "${@}" || die -n "pytest failed with ${EPYTHON}"; * * If you need support, post the output of `emerge --info '=dev-util/vint-0.3.21::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/vint-0.3.21::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:vint-0.3.21:20220402-021748.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/vint-0.3.21/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/vint-0.3.21/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21' * S: '/var/tmp/portage/dev-util/vint-0.3.21/work/vint-0.3.21'