From 32674fda93e2f100e5b36e68b261f998506b409b Mon Sep 17 00:00:00 2001 From: Ilan Schnell Date: Fri, 4 Oct 2024 15:55:08 -0500 Subject: [PATCH] skip test_overflow in debug mode --- bitarray/test_bitarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitarray/test_bitarray.py b/bitarray/test_bitarray.py index 43477816..6b58c8bb 100644 --- a/bitarray/test_bitarray.py +++ b/bitarray/test_bitarray.py @@ -1751,7 +1751,7 @@ def test_endianness4(self): self.assertEqual(b.tobytes(), b' ') self.assertNotEqual(a, b) - @skipIf(is_pypy) + @skipIf(is_pypy or DEBUG) def test_overflow(self): a = bitarray(1) for i in -7, -1, 0, 1: