#15040: Close files in mailbox tests for PyPy compatibility

Original patch by Matti Picus.
4 files changed