ipython/ipython — pull request #1246 by tomspur (2012-01-08 17:23:45+00:00)
Title: Skip tests that require X, when importing pylab results in RuntimeError.

When having no X around, these two tests will fail with a RuntimeError, e.g. see:
http://kojipkgs.fedoraproject.org/packages/ipython/0.12/2.fc17/data/logs/noarch/build.log

These two tests will be skiped now (instead of simply failing).

Maybe there is a smarter way to look if X is available....