Cleanup some test cases using check_warnings and check_py3k_warnings.
6 files changed