made a check for ipython so we don't break nosetests