[3.11] [3.12] gh-109413: libregrtest: enable mypy's --strict-optional
check on most files (GH-112586) (GH-112602)#112603
Merged
AlexWaygood merged 1 commit intopython:3.11from Dec 1, 2023