File: 32bit_test_fail_skip

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 (13 lines) | stat: -rw-r--r-- 537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Michael R. Crusoe <crusoe@debian.org>
Description: remove assert failing the builds for 32bit archs
Forwarded: https://github.com/theislab/anndata/issues/443
--- a/tests/test_layers.py
+++ b/tests/test_layers.py
@@ -71,7 +71,6 @@ def test_set_dataframe(homogenous, df, d
             warnings.simplefilter("error")
             adata.layers["df"] = df()
     assert isinstance(adata.layers["df"], np.ndarray)
-    assert np.issubdtype(adata.layers["df"].dtype, dtype)
 
 
 def test_readwrite(X: np.ndarray | None, backing_h5ad):