python3Packages.ansible-lint: fix failing test on deprecation warning

Ignore the deprecation warning during test. The deprecation warning is
due to a recent version of pyyaml which [moved some of their packages](https://github.com/yaml/pyyaml/commit/89f608599d700bf2976bf9307f9f86565f27a80e)

This fixes #113807
This commit is contained in:
Jean-François Roche
2021-03-09 23:43:19 +01:00
parent 102eb68cee
commit 7748cecd87
@@ -43,7 +43,7 @@ buildPythonPackage rec {
'';
checkPhase = ''
pytest -k 'not test_run_playbook_github and not test_run_single_role_path_no_trailing_slash_script'
pytest -W ignore::DeprecationWarning -k 'not test_run_playbook_github and not test_run_single_role_path_no_trailing_slash_script'
'';
meta = with lib; {