From 49a5fcfc310ff783b9e5c4ac4cf7ead896adc3b4 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Sat, 23 Nov 2024 16:52:41 +0000 Subject: New upstream import --- debian/patches/08-remove-six.patch | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 debian/patches/08-remove-six.patch (limited to 'debian/patches/08-remove-six.patch') diff --git a/debian/patches/08-remove-six.patch b/debian/patches/08-remove-six.patch deleted file mode 100644 index e577367..0000000 --- a/debian/patches/08-remove-six.patch +++ /dev/null @@ -1,29 +0,0 @@ -Description: Remove last remaining usage of python3-six -Author: Alexandre Detiste -Origin: Debian BTS, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087666 -Forwarded: https://github.com/kk7ds/chirp/pull/1170 -Last-Update: 2024-11-17 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/tests/unit/test_bitwise.py -+++ b/tests/unit/test_bitwise.py -@@ -18,7 +18,6 @@ - import unittest - from unittest import mock - --import six - - from chirp import bitwise - from chirp import memmap -@@ -256,10 +255,7 @@ - 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