diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-01-09 01:13:50 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-01-09 01:13:50 +0000 |
| commit | af38e5c951c5c0e8a80808eed77c9d8ea810a858 (patch) | |
| tree | 6e97440007eeb4837151983872bbd0a89aba78d8 /tests/unit/test_bitwise.py | |
| parent | 878e43fb254bc6fef35372890b0a9d27a0ce33bb (diff) | |
New upstream version 20241227upstream/20241227
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)) |
