mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
fix: generalize error message for unsupported functions
This commit is contained in:
@@ -251,7 +251,7 @@ def test_fail_compile(function, input_ranges, list_of_arg_names):
|
||||
arg_name: EncryptedScalar(Integer(64, True)) for arg_name in list_of_arg_names
|
||||
}
|
||||
|
||||
with pytest.raises(TypeError, match=r"signed integers aren't supported for MLIR lowering"):
|
||||
with pytest.raises(RuntimeError, match=".*isn't supported for MLIR lowering.*"):
|
||||
compile_numpy_function_into_op_graph(
|
||||
function,
|
||||
function_parameters,
|
||||
|
||||
Reference in New Issue
Block a user