File: skip_awkward.patch

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

--- 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