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

Simplify ensure_memoryview test w/array #6322

Merged
merged 3 commits into from
May 11, 2022
Merged

Conversation

jakirkham
Copy link
Member

Simplifies the array test for ensure_memoryview based on this feedback ( dask/dask#9059 (comment) ).

  • Tests added / passed
  • Passes pre-commit run --all-files

jakirkham added 3 commits May 10, 2022 21:06
This more consistently matches the other test cases which also use
`uint8`. Though `int8` also works.
Seems `array` is able to construct itself from `bytes` without issues.
So just pass the `bytes` in directly. Should make things clearer for
other maintainers as well.
To cutdown on verbosity import the `array` object directly.
@jakirkham
Copy link
Member Author

Planning on merging EOD tomorrow if no comments

@github-actions
Copy link
Contributor

Unit Test Results

       16 files  ±0         16 suites  ±0   7h 40m 43s ⏱️ - 27m 43s
  2 767 tests ±0    2 688 ✔️ +3       79 💤 +1  0  - 4 
22 098 runs  ±0  21 077 ✔️ +2  1 021 💤 +2  0  - 4 

Results for commit 01fd209. ± Comparison against base commit e390609.

Copy link
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

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

Thanks @jakirkham

@jrbourbeau jrbourbeau merged commit 9f02e7a into dask:main May 11, 2022
@jakirkham jakirkham deleted the simp_arr_tst branch May 11, 2022 20:56
@jakirkham
Copy link
Member Author

Thanks James! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants