diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-10-16 21:37:34 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-10-16 21:37:34 +0100 |
| commit | 96e7558ee5db759a7214cd451a3478f3b44f59a3 (patch) | |
| tree | e673aa5fb96256d43311c0e9581a2d5c6141ace6 /tests/unit/test_bitwise.py | |
| parent | a289d9178e89abd7dc0fb29bdd6dedf3987b4f06 (diff) | |
| parent | 91dbf844ad923e3c4bca1252dd104d8fc8ce5475 (diff) | |
Update upstream source from tag 'upstream/20231016'
Update to upstream version '20231016'
with Debian dir cd57b3fbc431f25a1408f045533dcb7f7b9975c0
Diffstat (limited to 'tests/unit/test_bitwise.py')
| -rw-r--r-- | tests/unit/test_bitwise.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/unit/test_bitwise.py b/tests/unit/test_bitwise.py index 2b674e8..969622f 100644 --- a/tests/unit/test_bitwise.py +++ b/tests/unit/test_bitwise.py @@ -15,7 +15,6 @@ from builtins import bytes -import struct import unittest import six @@ -98,14 +97,6 @@ class TestBitwiseBaseIntTypes(BaseTest): obj.foo[i] = i * 2 self.assertEqual(b'\x00\x02\x04\x06', data.get_packed()) - def test_int_array(self): - data = memmap.MemoryMapBytes(bytes(b'\x00\x01\x02\x03')) - obj = bitwise.parse('u8 foo[4];', data) - for i in range(4): - self.assertEqual(i, obj.foo[i]) - obj.foo[i] = i * 2 - self.assertEqual(b'\x00\x02\x04\x06', data.get_packed()) - class TestBitfieldTypes(BaseTest): def test_bitfield_u8(self): |
