diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-11-23 16:46:22 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-11-23 16:46:22 +0000 |
| commit | 111ea4a4f916781e9295351d44b896d7671adc7e (patch) | |
| tree | 15db449c50edcbbec67b2c520cea4d2b816d9e29 /tests/unit/test_bitwise.py | |
| parent | 49939b3439da13f610be2aff4e40473fa2e2f7b3 (diff) | |
New upstream version 20241122
Diffstat (limited to 'tests/unit/test_bitwise.py')
| -rw-r--r-- | tests/unit/test_bitwise.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/unit/test_bitwise.py b/tests/unit/test_bitwise.py index 3ace170..4ba467f 100644 --- a/tests/unit/test_bitwise.py +++ b/tests/unit/test_bitwise.py @@ -18,7 +18,6 @@ from builtins import bytes import unittest from unittest import mock -import six from chirp import bitwise from chirp import memmap @@ -256,10 +255,7 @@ class TestBitwiseCharTypes(BaseTest): data = memmap.MemoryMapBytes(bytes(b"\xFFoobar1")) obj = bitwise.parse("struct {char foo[7];} bar;", data) - if six.PY3: - expected = '\xffoobar1' - else: - expected = '\\xffoobar1' + expected = '\xffoobar1' self.assertIn(expected, repr(obj.bar)) |
