Remove call to warnings.resetwarnings() from testing.py module level.

resetwarnings() interferes with other people's warnings configuration
in tests.