3.11 support for web3 is on the way with PR https://github.com/ethereum/web3.py/pull/2699 unless it is not merged `testutil` cannot be used with python version above 3.10