Skip to content

Commit

Permalink
Update TestCleanup
Browse files Browse the repository at this point in the history
Increase deadling for `test_cleanup_default_clean_w_random_adata`.
  • Loading branch information
WeilerP committed Dec 2, 2023
1 parent c9e3217 commit 5482f72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/core/test_anndata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5482f72

Please sign in to comment.