Skip to content

Commit

Permalink
Fix wrong assert type in test_segment_len
Browse files Browse the repository at this point in the history
  • Loading branch information
bessman committed Sep 22, 2023
1 parent 557a82c commit bcf2d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_bincopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1845,7 +1845,7 @@ def test_segment_len(self):
length = 0x100
word_size_bytes = 1
segment = bincopy.Segment(0, length, bytes(length), word_size_bytes)
self.assertAlmostEqual(length, len(segment))
self.assertEqual(length, len(segment))

def test_segment_len_16(self):
length = 0x100
Expand Down

0 comments on commit bcf2d37

Please sign in to comment.