bpo-43651: Fix test_compileall with PEP 597 (GH-25128)

3 files changed