Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cohorts snapshot tests with syrupy #379

Merged
merged 10 commits into from
Aug 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix mypy
dcherian committed Aug 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit f2b79190945a27a8c599b72bb256b10996d0b9a1
Empty file added asv_bench/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion tests/strategies.py
Original file line number Diff line number Diff line change
@@ -101,7 +101,7 @@ def by_arrays(
) -> st.SearchStrategy[np.ndarray[Any, Any]]:
if elements is None:
elements = {}
elements.setdefault("alphabet", st.characters(exclude_categories=("C",)))
elements.setdefault("alphabet", st.characters(exclude_categories=["C"]))
return st.one_of(
npst.arrays(
dtype=npst.integer_dtypes(endianness="=") | npst.unicode_string_dtypes(endianness="="),