Skip to content

Commit

Permalink
Remove unnecessary lambda expression (#2260)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos authored Sep 26, 2024
1 parent e968ac5 commit c3f5401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zarr/testing/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def v2_dtypes() -> st.SearchStrategy[np.dtype]:
)
array_names = node_names
attrs = st.none() | st.dictionaries(_attr_keys, _attr_values)
paths = st.lists(node_names, min_size=1).map(lambda x: "/".join(x)) | st.just("/")
paths = st.lists(node_names, min_size=1).map("/".join) | st.just("/")
stores = st.builds(MemoryStore, st.just({}), mode=st.just("w"))
compressors = st.sampled_from([None, "default"])
zarr_formats: st.SearchStrategy[Literal[2, 3]] = st.sampled_from([2, 3])
Expand Down

0 comments on commit c3f5401

Please sign in to comment.