bpo-32418: Postfix, raise NotImplementdError and close resources in tests (#5052)

2 files changed