gnu: sbcl-trivial-clipboard: Update to 20200904.
[jackhill/guix/guix.git] / gnu / packages / patches / calibre-remove-test-sqlite.patch
1 From a92e26359bd07743ab105819ed0b619e27e14017 Mon Sep 17 00:00:00 2001
2 From: Brendan Tildesley <mail@brendan.scot>
3 Date: Sat, 27 Apr 2019 03:30:53 +1000
4 Subject: [PATCH] Disable test_sqlite.
5
6 ---
7 src/calibre/test_build.py | 6 ------
8 1 file changed, 6 deletions(-)
9
10 diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py
11 index 07bdffd3e5..740588c95b 100644
12 --- a/src/calibre/test_build.py
13 +++ b/src/calibre/test_build.py
14 @@ -162,12 +162,6 @@ class BuildTest(unittest.TestCase):
15 au(x, 'strftime')
16 self.assertEqual(unicode_type(time.strftime(fmt.replace('%e', '%#d'), t)), x)
17
18 - def test_sqlite(self):
19 - import sqlite3
20 - conn = sqlite3.connect(':memory:')
21 - from calibre.library.sqlite import load_c_extensions
22 - self.assertTrue(load_c_extensions(conn, True), 'Failed to load sqlite extension')
23 -
24 def test_apsw(self):
25 import apsw
26 conn = apsw.Connection(':memory:')
27 --
28 2.21.0
29