From bcf2d3780da3966d269b861b3f738819d222e2f1 Mon Sep 17 00:00:00 2001 From: Alexander Bessman Date: Fri, 22 Sep 2023 12:27:31 +0200 Subject: [PATCH] Fix wrong assert type in test_segment_len --- tests/test_bincopy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_bincopy.py b/tests/test_bincopy.py index fe183c4..f0cb72d 100644 --- a/tests/test_bincopy.py +++ b/tests/test_bincopy.py @@ -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