This patch fixes pch.py tests in Python port.