gnu: calibre: Remove unrar test.
[jackhill/guix/guix.git] / gnu / packages / patches / calibre-remove-test-unrar.patch
1 Unrar contains security vulnerabilities and has thus been removed from Guix.
2 From a16f97b02bd8afd0ec05c471e156f631f2cc6eec Mon Sep 17 00:00:00 2001
3 From: Brendan Tildesley <mail@brendan.scot>
4 Date: Tue, 26 Mar 2019 22:17:03 +1100
5 Subject: [PATCH] Remove test_unrar.
6
7 ---
8 src/calibre/test_build.py | 4 ----
9 1 file changed, 4 deletions(-)
10
11 diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py
12 index d67afd20a6..709132ef17 100644
13 --- a/src/calibre/test_build.py
14 +++ b/src/calibre/test_build.py
15 @@ -220,10 +220,6 @@ class BuildTest(unittest.TestCase):
16 from calibre.gui2.win_file_dialogs import test
17 test()
18
19 - def test_unrar(self):
20 - from calibre.utils.unrar import test_basic
21 - test_basic()
22 -
23 @unittest.skipUnless(iswindows, 'WPD is windows only')
24 def test_wpd(self):
25 wpd = plugins['wpd'][0]
26 --
27 2.21.0
28