Tools and Tasks tests for Python 3.12

Build: #65 failed Child of CASASPECS-MASTERBUILDCASALITH-62

Code commits

CASA6