fixed deprecation warnings for tostring on array.array
Supressing ResourceWarnings for unclosed files in the test suite. Revert me when fixed