From af38e5c951c5c0e8a80808eed77c9d8ea810a858 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Thu, 9 Jan 2025 01:13:50 +0000 Subject: New upstream version 20241227 --- tests/unit/test_bitwise.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/unit/test_bitwise.py') 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)) -- cgit v1.2.3