change to account for fix in ipython/ipython#3186