From d36c3bb8d919753f4ce0f1183bc04d1ae5df5c6b Mon Sep 17 00:00:00 2001 From: Cathal Corbett Date: Fri, 23 Dec 2022 14:13:35 +0000 Subject: IVGCVSW-7369 Fix failing PyArmNN test * test_optimizer_options_fail test failing due to BF16 check removed from OptimizerOptions() in IVGCVSW-7214 Signed-off-by: Cathal Corbett Change-Id: Ibce5c0b0324f6d8761ffcb3e84532ca2656fcbc0 --- python/pyarmnn/test/test_modeloption.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'python') diff --git a/python/pyarmnn/test/test_modeloption.py b/python/pyarmnn/test/test_modeloption.py index a47d2da358..4773d90e08 100644 --- a/python/pyarmnn/test/test_modeloption.py +++ b/python/pyarmnn/test/test_modeloption.py @@ -118,17 +118,6 @@ def test_optimizer_options_fail(): assert "Wrong number or type of arguments" in str(err.value) - with pytest.raises(RuntimeError) as err: - OptimizerOptions(True, - False, - True, - ShapeInferenceMethod_InferAndValidate, - True, - [a], - True) - - assert "BFloat16 and Float16 optimization cannot be enabled at the same time" in str(err.value) - with pytest.raises(TypeError) as err: oo = OptimizerOptions(True, False, -- cgit v1.2.1