Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
JochenSiegWork committed Nov 15, 2024
1 parent 09c8326 commit e3ee77d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ def test_explicit_hydrogens(self) -> None:
self.assertEqual(len(explanations1), 1)
self.assertEqual(len(explanations2), 1)
self.assertEqual(len(explanations3), 1)
self.assertIsInstance(explanations1[0].atom_weights, np.ndarray)
self.assertIsInstance(explanations2[0].atom_weights, np.ndarray)
self.assertIsInstance(explanations3[0].atom_weights, np.ndarray)
self.assertIsInstance(explanations1[0].atom_weights, np.ndarray) # type: ignore[union-attr]
self.assertIsInstance(explanations2[0].atom_weights, np.ndarray) # type: ignore[union-attr]
self.assertIsInstance(explanations3[0].atom_weights, np.ndarray) # type: ignore[union-attr]
self.assertEqual(len(explanations1[0].atom_weights), 1)
self.assertEqual(len(explanations2[0].atom_weights), 1)
self.assertEqual(len(explanations3[0].atom_weights), 1)
Expand Down

0 comments on commit e3ee77d

Please sign in to comment.