You might also need to put `warnings.simplefilter('always')` at the top of the file. We do that in other test files, and I wonder if it was to work around the issue you're hitting on Py3k