55b7787 ipatests: Don't turn Pytest IPA deprecation warnings into errors

3 files Authored by slev 3 years ago, Committed by rcritten 3 years ago,
    ipatests: Don't turn Pytest IPA deprecation warnings into errors
    
    With new Pytest 6.0 [0]:
    
    > PytestDeprecationWarning are now errors by default.
    Following our plan to remove deprecated features with as little disruption as
    possible, all warnings of type PytestDeprecationWarning now generate errors
    instead of warning messages.
    
    PytestWarnings are no longer marked as the part of public API, but as
    internal warnings. It's unsafe to use bare PytestDeprecationWarning,
    which is turned into the error on major releases.
    
    [0]: https://github.com/pytest-dev/pytest/releases/tag/6.0.0
    
    Fixes: https://pagure.io/freeipa/issue/8435
    Signed-off-by: Stanislav Levin <slev@altlinux.org>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+4 -0