Skip to content

Commit

Permalink
Update test_case.py (#917)
Browse files Browse the repository at this point in the history
Fixed closing brackets for assert in `run_output_asserts` in 'test_case.py'.
  • Loading branch information
PatReis authored Sep 19, 2023
1 parent e5a6ab9 commit c64de55
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions keras_core/testing/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c64de55

Please sign in to comment.