Update test_file_gif.py

remove warning