Issue19995: fixed typo; switched from test.support.check_warnings to assertWarns
2 files changed