dde9b26 test_caless: adjust try/except to capture also IOError

1 file Authored by mreznik 6 years ago, Committed by cheimes 6 years ago,
    test_caless: adjust try/except to capture also IOError
    
    While testing on RHEL we are getting IOError instead of OSError.
    Add also IOError to except clause.
    
    This is mostly for compatibility reasons however should not cause
    any issue as IOError is alias for OSError on Python3.
    
    https://pagure.io/freeipa/issue/7439
    
    Reviewed-By: Christian Heimes <cheimes@redhat.com>