File: skip_awkward.patch

package info (click to toggle)
python-anndata 0.12.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,876 kB
  • sloc: python: 21,429; makefile: 23
file content (16 lines) | stat: -rw-r--r-- 454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Diane Trout <diane@ghic.org>
Description: Skip tests that depend on pyarrow which is not available in Debian
Forwarded: not-needed

--- a/tests/test_awkward.py
+++ b/tests/test_awkward.py
@@ -15,6 +15,9 @@
     ImplicitModificationWarning,
     read_h5ad,
 )
+
+pytest.importorskip("pyarrow")
+
 from anndata.compat import AwkArray
 from anndata.compat import awkward as ak
 from anndata.tests.helpers import assert_equal, gen_adata, gen_awkward