Skip to content

Commit

Permalink
Fix test (huggingface#9755)
Browse files Browse the repository at this point in the history
  • Loading branch information
jplu authored Jan 22, 2021
1 parent 82d46fe commit a449ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_modeling_tf_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def test_saved_model_with_attentions_output(self):
else:
output = outputs["attentions"]

self.assertEqual(len(output), num_out)
self.assertEqual(len(outputs), num_out)
self.assertEqual(len(output), self.model_tester.num_hidden_layers)
self.assertListEqual(
list(output[0].shape[-3:]),
Expand Down

0 comments on commit a449ffc

Please sign in to comment.