Skip to content

Commit

Permalink
Fix tests for DigitalSequenceBlock.translate to use sequences of di…
Browse files Browse the repository at this point in the history
…fferent lengths
  • Loading branch information
althonos committed Aug 20, 2023
1 parent bd68353 commit 53be1bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyhmmer/tests/test_easel/test_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def test_translate(self):
)
seq3 = self._new_sequence(
b"seq3",
"ATGCTG",
"ATTCTGATGATA",
)

block = self._new_block([seq1, seq2, seq3])
Expand All @@ -326,7 +326,7 @@ def test_translate(self):
# test sequences
self.assertEqual(prots[0].sequence, "ML")
self.assertEqual(prots[1].sequence, "MP")
self.assertEqual(prots[2].sequence, "ML")
self.assertEqual(prots[2].sequence, "ILMI")
# test names
self.assertEqual(prots[0].name, b"seq1")
self.assertEqual(prots[1].name, b"seq2")
Expand Down

0 comments on commit 53be1bd

Please sign in to comment.