Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Improve test coverage for storage classes #2693
base: main
Are you sure you want to change the base?
Improve test coverage for storage classes #2693
Changes from 27 commits
2ea442c
7f76575
98b7392
18be47f
69ce1d7
5877355
b4310fd
d08458e
f663694
cf62f67
31f9931
964aeaa
332f564
4d4d728
30d1323
9764204
fefd666
6f240c2
d2bbd9d
85f44db
51c0c15
ddd6bc9
62a528c
5f00efd
6923337
0792fa8
dd0de05
4dba40c
48abe94
bf4589d
5b37417
74647de
c8ebcd0
1e96600
cc14e07
5148dd6
bf58808
e1caef0
1922d2d
45ea40d
b281bc9
9a75da2
ca83bd6
0d6eccf
9059135
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 65 in src/zarr/storage/_wrapper.py
Codecov / codecov/patch
src/zarr/storage/_wrapper.py#L65
Check warning on line 84 in src/zarr/storage/_wrapper.py
Codecov / codecov/patch
src/zarr/storage/_wrapper.py#L84
Check warning on line 150 in src/zarr/storage/_zip.py
Codecov / codecov/patch
src/zarr/storage/_zip.py#L150
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could these new abstract methods get a changelog entry? I also presume this is a breaking change, because anyone implementing a child of
StoreTests
will now be forced to implement these methods?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I can mention it in the changelog entry. I do not consider this a breaking change because the previous 'NotImplementedError' caused these tests to fail unless they were implemented in the inheriting class. I think this is just a more Pythonic way to indicate that they need to be implemented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is rather surprising -- I would expect that a non-open store would not support IO of any kind. what exactly does
open
mean? cc @jhammanThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is also surprising to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as https://github.com/zarr-developers/zarr-python/pull/2693/files#r1913045841