GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917)

2 files changed