Skip to content

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Oct 7, 2022

Make sure we init and finalize AMReX and all fixture objects for each test function. This is important, since objects like MultiFabs use the memory Arenas of a current AMReX session.

Needed for a clean shutdown of new tests in #30

@ax3l ax3l added the bug Something isn't working label Oct 7, 2022
@ax3l ax3l requested a review from RemiLehe October 7, 2022 17:31
Make sure we init and finalize AMReX and all fixture objects
for each test function. This is important, since objects like
MultiFabs use the memory Arenas of a current AMReX session.
@ax3l ax3l force-pushed the pytest-function-scope branch from 90e8be2 to bdccdb5 Compare October 7, 2022 17:33
@ax3l ax3l mentioned this pull request Oct 7, 2022
2 tasks
@ax3l ax3l merged commit 78bbbc7 into AMReX-Codes:development Oct 7, 2022
@ax3l ax3l deleted the pytest-function-scope branch October 7, 2022 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant