Skip to content

Conversation

@ryan-kipawa
Copy link
Collaborator

See for here details of the issue: DHI/mikecore-python#41

This adds a bandage fix that forces garbage collection to run after each test on Windows. I suspect this ultimately needs to be fixed by:

  1. Adding context manager support to mikecore-python
  2. Removing file handle leaks from MIKE IO (safe to assume they exist since modelskill depends on mikeio)

Copy link
Member

@ecomodeller ecomodeller left a comment

Choose a reason for hiding this comment

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

Nice!

Reconsider the name, isn't "_after_test" better?

ryan-kipawa and others added 3 commits January 26, 2026 17:26
Co-authored-by: Henrik Andersson <jan@dhigroup.com>
Co-authored-by: Henrik Andersson <jan@dhigroup.com>
Co-authored-by: Henrik Andersson <jan@dhigroup.com>
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.

3 participants