From 5482f72730742267b847eab312f8b4d83d9b6d01 Mon Sep 17 00:00:00 2001 From: Philipp Weiler Date: Sat, 2 Dec 2023 12:06:33 +0100 Subject: [PATCH] Update `TestCleanup` Increase deadling for `test_cleanup_default_clean_w_random_adata`. --- tests/core/test_anndata.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/core/test_anndata.py b/tests/core/test_anndata.py index 1f113fa2..5a0abd16 100644 --- a/tests/core/test_anndata.py +++ b/tests/core/test_anndata.py @@ -2,7 +2,7 @@ import hypothesis.strategies as st import pytest -from hypothesis import given +from hypothesis import given, settings import numpy as np import pandas as pd @@ -143,6 +143,7 @@ def test_cleanup_all( assert len(adata.var.columns) == 0 @given(adata=get_adata(max_obs=5, max_vars=5), inplace=st.booleans()) + @settings(max_examples=10, deadline=1000) def test_cleanup_default_clean_w_random_adata(self, adata: AnnData, inplace: bool): n_obs_cols = len(adata.obs.columns) n_var_cols = len(adata.var.columns)