Skip to content

provide import system access through context manager

Michi Hostettler requested to merge jpype-imports-context-manager into master

As discussed this morning.

I did not add tests for this functionality as it requires a running JVM (which other tests don't). If you have a good idea how to monkey-patch jpype to mock the calls needed in a smart way, I'd of course appreciate any proposals for tests.

Merge request reports