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