From 9e5f96d647c880646266766c64b8ca41506477e5 2013-07-25 08:32:41 From: Jens Hedegaard Nielsen Date: 2013-07-25 08:32:41 Subject: [PATCH] update px pylab test to match new output of pylab --- diff --git a/IPython/parallel/tests/test_magics.py b/IPython/parallel/tests/test_magics.py index dae6c3b..1e13f59 100644 --- a/IPython/parallel/tests/test_magics.py +++ b/IPython/parallel/tests/test_magics.py @@ -322,8 +322,7 @@ class TestParallelMagics(ClusterTestCase, ParametricTestCase): with capture_output() as io: ip.magic("px %pylab inline") - self.assertTrue("Welcome to pylab" in io.stdout, io.stdout) - self.assertTrue("backend_inline" in io.stdout, io.stdout) + self.assertTrue("Populating the interactive namespace from numpy and matplotlib" in io.stdout, io.stdout) with capture_output() as io: ip.magic("px plot(rand(100))")