I have a feeling this is deleting "sys.stdout", and leading to this mess:

https://travis-ci.org/vispy/vispy/jobs/18980603#L874

Can you check to see if `loaded_vispy_modules` is or isn't accidentally clearing `sys.stdout`? It ends up being `None`, which doesn't make sense... probably a problem with `loaded_vispy_modules`.