def test_errors():
    with pytest.raises(Exception) as excinfo:
        aes = Cipher("AES-128-XXF")
    assert str(excinfo.value) in 'Unknown'
dataset/ETHPy150Open gdanezis/petlib/petlib/cipher.py/test_errors/swapped operands of `in`