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](89f608599d)

This fixes #113807
This commit is contained in:
Jean-François Roche 2021-03-09 23:34:23 +01:00
parent 102eb68cee
commit 7748cecd87
No known key found for this signature in database
GPG key ID: D1D09DE169EA19A0

View file

@ -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; {