Debian Codegraph @

debian/patches/0002-Skip-bzr-tests.patch

raw
1 From: Sergio Durigan Junior <[email protected]>
2 Date: Sat, 1 Mar 2025 16:36:40 -0500
3 Subject: Skip bzr tests
4
5 bzr doesn't work on Debian and its last upload happened on 2019.
6 Let's just skip its tests since it's probably not going to be revived.
7
8 Forwarded: not-needed
9 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099219
10 ---
11 tests.py | 7 +++----
12 1 file changed, 3 insertions(+), 4 deletions(-)
13
14 --- a/tests.py
15 +++ b/tests.py
16 @@ -1169,12 +1169,12 @@
17 self._run('bzr', 'commit', '-m', 'Initial')
18
19
20 [email protected]("bzr support was disabled, see bug #1099219")
21 class TestBzr(VCSMixin, unittest.TestCase):
22 vcs = BzrHelper()
23
24
25 [email protected](HAS_OEM_CODEC,
26 - "Python 3.6 lets us use 'oem' codec instead of guessing")
27 [email protected]("bzr support was disabled, see bug #1099219")
28 class TestBzrTerminalCharsetDetectionOnOldPythons(unittest.TestCase):
29
30 @mock.patch('sys.stdin')
31 @@ -1206,8 +1206,7 @@
32 self.assertEqual(Bazaar._get_terminal_encoding(), None)
33
34
35 [email protected](not HAS_OEM_CODEC,
36 - "'oem' codec not available on Python before 3.6")
37 [email protected]("bzr support was disabled, see bug #1099219")
38 class TestBzrTerminalCharsetDetectionOnNewPythons(unittest.TestCase):
39
40 def test_terminal_encoding_cp0(self):