Skip to content

Ensure gc.collect() is called before checking refcount in tests. - #8781

Merged
sklam merged 2 commits into
numba:mainfrom
sklam:fix/refcount_gc_collect
Mar 6, 2023
Merged

sklam merged 2 commits into
numba:mainfrom
sklam:fix/refcount_gc_collect

Conversation

@sklam

@sklam sklam commented Feb 23, 2023

Copy link
Copy Markdown
Member

Splitted from #8776 (comment) as requested by reviewer.

@sklam sklam mentioned this pull request Feb 23, 2023

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Couple of minor things else looks good, thanks for moving this patch to a separate PR @sklam.

Comment thread numba/tests/support.py Outdated
Comment thread numba/tests/test_np_randomgen.py
@stuartarchibald stuartarchibald self-assigned this Feb 24, 2023
@stuartarchibald stuartarchibald added this to the Numba 0.57 RC milestone Feb 24, 2023
@sklam
sklam force-pushed the fix/refcount_gc_collect branch from 4a47b98 to 70cedbc Compare February 24, 2023 18:11
@sklam
sklam marked this pull request as ready for review February 24, 2023 18:13
Comment thread numba/tests/support.py
@stuartarchibald stuartarchibald added 4 - Waiting on author Waiting for author to respond to review Effort - short Short size effort needed and removed 3 - Ready for Review labels Feb 28, 2023

@stuartarchibald stuartarchibald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the patch and fixes.

@stuartarchibald stuartarchibald added 5 - Ready to merge Review and testing done, is ready to merge and removed 4 - Waiting on author Waiting for author to respond to review labels Mar 6, 2023
@sklam
sklam merged commit 7cab2c4 into numba:main Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to merge Review and testing done, is ready to merge Effort - short Short size effort needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants