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

[python/ci] Factor pytest.fixtures, verify #1988 #2299

Merged
merged 6 commits into from
Mar 22, 2024
Merged

Conversation

ryan-williams
Copy link
Member

@ryan-williams ryan-williams commented Mar 21, 2024

Issue and/or context: #1988

Changes:

Notes for Reviewer:

  • Test cleanups can be factored out to another PR, if desired.
  • I verified that the new test, test_empty_categorical_query, raises ArrowInvalid with TileDB 2.20.1, but passes here with 2.21.0.

Copy link

codecov bot commented Mar 21, 2024

Codecov Report

Merging #2299 (6cc8ab1) into main (1cea3f6) will increase coverage by 11.67%.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2299       +/-   ##
===========================================
+ Coverage   78.68%   90.35%   +11.67%     
===========================================
  Files         140       37      -103     
  Lines       10767     3899     -6868     
  Branches      215        0      -215     
===========================================
- Hits         8472     3523     -4949     
+ Misses       2197      376     -1821     
+ Partials       98        0       -98     
Flag Coverage Δ
libtiledbsoma ?
python 90.35% <100.00%> (+0.04%) ⬆️
r ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api 90.35% <100.00%> (+0.04%) ⬆️
libtiledbsoma ∅ <ø> (∅)

@ryan-williams ryan-williams marked this pull request as ready for review March 21, 2024 23:56
Copy link
Member

@johnkerl johnkerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is epic -- thank you!

I didn't set an expectation ahead of time, but for the future: let's do refactor PRs and behavior-addition PRs as separate. That makes them easier to review. (And easier to deal with in case of reverts, which admittedly don't often happen.)

@ryan-williams ryan-williams merged commit 5d49229 into main Mar 22, 2024
12 checks passed
@ryan-williams ryan-williams deleted the rw/i1988 branch March 22, 2024 15:20
github-actions bot pushed a commit that referenced this pull request Mar 22, 2024
* typeguard nit

missed in #1960

* factor common fixtures into conftest.py

* factor test_update_dataframes fixture

* `verify_obs_var` helper, more `test_update_dataframes` factoring

* test_experiment_query.py: verify #1988

* `s/h5ad_file/h5ad_path/g`, factor `HERE`s
johnkerl pushed a commit that referenced this pull request Mar 22, 2024
* typeguard nit

missed in #1960

* factor common fixtures into conftest.py

* factor test_update_dataframes fixture

* `verify_obs_var` helper, more `test_update_dataframes` factoring

* test_experiment_query.py: verify #1988

* `s/h5ad_file/h5ad_path/g`, factor `HERE`s

Co-authored-by: Ryan Williams <ryan.williams@tiledb.com>
@johnkerl johnkerl changed the title Factor pytest.fixtures, verify #1988 [python/ci] Factor pytest.fixtures, verify #1988 Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants