fix two failing test in IPython.lib
Merge pull request #3722 from ivanov/quickfix-pylab

fix two failing test in IPython.lib