Properly set warnings.warn stacklevel