From c64de55830f4d298ebe96547cb975a85455a04f1 Mon Sep 17 00:00:00 2001 From: Patrick Reiser <64005383+PatReis@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:18:45 +0200 Subject: [PATCH] Update test_case.py (#917) Fixed closing brackets for assert in `run_output_asserts` in 'test_case.py'. --- keras_core/testing/test_case.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/keras_core/testing/test_case.py b/keras_core/testing/test_case.py index 2bb54e05a..a39a2b371 100644 --- a/keras_core/testing/test_case.py +++ b/keras_core/testing/test_case.py @@ -261,10 +261,8 @@ def run_output_asserts(layer, output, eager=False): self.assertIsInstance(output, list) self.assertEqual( len(output), - len( - expected_output_shape, - msg="Unexpected number of outputs", - ), + len(expected_output_shape), + msg="Unexpected number of outputs", ) output_shape = [v.shape for v in expected_output_shape] self.assertEqual(