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

[REVIEW] Fix cython tests #749

Merged
merged 3 commits into from
Apr 7, 2021
Merged

Conversation

galipremsagar
Copy link
Contributor

As part of #739, we have removed __init__.py from tests directory. We were having this to be able to import test_device_buffer which was in tests directory, but in some environments, we consistently run into this following issue: https://stackoverflow.com/a/41752043, so we have to treat tests as a directory only and not as a module. With this change on some setups, either test_rmm.py silently gets skipped or errors with following error in CI:
https://gpuci.gpuopenanalytics.com/view/RAPIDS%20-%20Pascal%20Tests/job/rapidsai/job/gpuci/job/rmm/job/branches/job/rmm-gpu-pascal-branch-0.19/CUDA=10.1/33/console

As part of this PR, we are moving all the cython files required to test under an internal rmm._test_cython module and this way we should be able to pytest the test_cython.py.

@galipremsagar galipremsagar requested a review from a team as a code owner April 7, 2021 17:13
@github-actions github-actions bot added the Python Related to RMM Python API label Apr 7, 2021
@kkraus14
Copy link
Contributor

kkraus14 commented Apr 7, 2021

cc @shwina to review

@jakirkham jakirkham added 3 - Ready for review Ready for review by team non-breaking Non-breaking change improvement Improvement / enhancement to an existing function labels Apr 7, 2021
@galipremsagar galipremsagar self-assigned this Apr 7, 2021
@kkraus14
Copy link
Contributor

kkraus14 commented Apr 7, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit a6d04bf into rapidsai:branch-0.19 Apr 7, 2021
@kkraus14 kkraus14 removed the 3 - Ready for review Ready for review by team label Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Related to RMM Python API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants