TST: Fix test_animation RuntimeErrors on Windows
Merge pull request #3317 from cgohlke/patch-1

TST: Fix test_animation RuntimeErrors on Windows

This does not require another RC