summaryrefslogtreecommitdiff
path: root/debian/patches/08-remove-six.patch
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-11-23 16:52:41 +0000
committerDave Hibberd <hibby@debian.org>2024-11-23 16:54:53 +0000
commit49a5fcfc310ff783b9e5c4ac4cf7ead896adc3b4 (patch)
treeda6ea3df548f787b9d3fa8ff48c78f6a712a8ab8 /debian/patches/08-remove-six.patch
parent4dafcb794037c0752f999164bbbe5a012a34dbe3 (diff)
New upstream import
Diffstat (limited to 'debian/patches/08-remove-six.patch')
-rw-r--r--debian/patches/08-remove-six.patch29
1 files changed, 0 insertions, 29 deletions
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 <alexandre.detiste@gmail.com>
-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))
-