unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob fc2b237ef240d18173b234d3bb75ad4b889008b1 968 bytes (raw)
name: packages/patches/calibre-remove-test-sqlite.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
From d8225e83c3b73f0e0da73874910f50ca652f48cf Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <mail@brendan.scot>
Date: Thu, 25 Feb 2021 00:48:00 +1100
Subject: [PATCH] Remove test_sqlite

---
 src/calibre/test_build.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py
index 0ab7aa0646..87fdfabd9a 100644
--- a/src/calibre/test_build.py
+++ b/src/calibre/test_build.py
@@ -273,12 +273,6 @@ def read_changes():
         m.close()
         self.assertEqual(winutil.parse_cmdline('"c:\\test exe.exe" "some arg" 2'), ('c:\\test exe.exe', 'some arg', '2'))

-    def test_sqlite(self):
-        import sqlite3
-        conn = sqlite3.connect(':memory:')
-        from calibre.library.sqlite import load_c_extensions
-        self.assertTrue(load_c_extensions(conn, True), 'Failed to load sqlite extension')
-
     def test_apsw(self):
         import apsw
         conn = apsw.Connection(':memory:')
--
2.30.1

debug log:

solving fc2b237ef240d18173b234d3bb75ad4b889008b1 ...
found fc2b237ef240d18173b234d3bb75ad4b889008b1 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).