From eb601f59483968429d6795c49b064f6c545a380e Mon Sep 17 00:00:00 2001 From: Umut Date: Mon, 7 Nov 2022 14:14:24 +0100 Subject: [PATCH] chore: fix one of the common random test failures --- tests/execution/test_others.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/execution/test_others.py b/tests/execution/test_others.py index 65b799329..ca7627313 100644 --- a/tests/execution/test_others.py +++ b/tests/execution/test_others.py @@ -779,7 +779,7 @@ return %4 return np.abs(np.sin(x)).transpose().astype(np.int64) with pytest.raises(RuntimeError) as excinfo: - inputset = [np.random.randint(0, 2**7, size=(2, 2)) for _ in range(100)] + inputset = [[[0, 1], [2, 3]]] function3.compile(inputset, configuration) helpers.check_str( @@ -788,7 +788,7 @@ return %4 A subgraph within the function you are trying to compile cannot be fused because of a node, which is marked explicitly as non-fusable -%0 = x # EncryptedTensor +%0 = x # EncryptedTensor ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ with this input node %1 = sin(%0) # EncryptedTensor ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ within this subgraph