bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21823)

Rename 5 test method names in test_codecs and test_typing.
2 files changed