Skip to content

Conversation

@RKrahl
Copy link
Owner

@RKrahl RKrahl commented Aug 7, 2025

Thorough review of class AutoPatchCaller that implements the test framework. Move large parts of this class to global module level. This way the child process that invokes the auto-patch.py script for the tests inherits the stuff, so we avoid passing an instance of AutoPatchCaller into the child process. This adheres to the “Better to inherit than pickle/unpickle” principle from the multiprocessing programming guidelines.

Close #16.

RKrahl added 3 commits August 7, 2025 22:41
methods and subclasses of class AutoPatchCaller into classes and
functions at module level.  This avoids passing instances of
AutoPatchCaller into the child process.
@RKrahl RKrahl added this to the 1.1.1 milestone Aug 7, 2025
@RKrahl RKrahl added the test suite Issues related with the test suite label Aug 7, 2025
@RKrahl RKrahl merged commit e820656 into master Aug 7, 2025
8 checks passed
@RKrahl RKrahl deleted the test-framework branch August 7, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test suite Issues related with the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test suite fails raising PicklingError with Python 3.14

2 participants