this has been done automatically with the following comand line ./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./python/plugins/ ./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./tests/src/python/