-
Notifications
You must be signed in to change notification settings - Fork 200
Open
Labels
questionQuestion on how to use JPypeQuestion on how to use JPype
Description
Thanks for the great project!
Somehow in pytests I can end up with this error:
from java.lang import String
> assert type(a) is String, f"not a string: {type(a)}"
E AssertionError: not a string: <java class 'java.lang.String'>It happens in a multiprocessing-heavy context. Otherwise I did not investigate much into it (need to run a very large test suite to reproduce). Worth noting that it is probably not related to serializing the object because it would otherwise simply fail during serialization.
jpype 1.6.0 cpython 3.9.18
Metadata
Metadata
Assignees
Labels
questionQuestion on how to use JPypeQuestion on how to use JPype