Sorry, I didn't get your point. Why can't I pass this parameter to download_url_to_tempfileobj function?
Does reinstalling TUF mean 'pip install --upgrade .'? If it does, yes, I always updated the changes before ran the tests.