File: no_rethinkdb_test.patch

package info (click to toggle)
apscheduler 3.11.1-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 872 kB
  • sloc: python: 7,247; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Python binding of RethinkDB is not yet packaged
 Make it just skip testing.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Forwarded: not-needed
Last-Update: 2024-12-13

---

--- a/src/apscheduler/jobstores/rethinkdb.py
+++ b/src/apscheduler/jobstores/rethinkdb.py
@@ -9,7 +9,8 @@ from apscheduler.util import (
 )
 
 try:
-    from rethinkdb import RethinkDB
+    pass
+#    from rethinkdb import RethinkDB
 except ImportError as exc:  # pragma: nocover
     raise ImportError("RethinkDBJobStore requires rethinkdb installed") from exc