I think you should node that the context manager (only?) clears the warnings registry for all modules, so that this isn't used willy-nilly.