From eefa55c269edae8b8826fd7213e32bc956025db6 2012-08-26 23:54:17 From: MinRK Date: 2012-08-26 23:54:17 Subject: [PATCH] adjust division error message checking to account for Python 3 --- diff --git a/IPython/parallel/tests/test_view.py b/IPython/parallel/tests/test_view.py index 29715d0..29d34b9 100644 --- a/IPython/parallel/tests/test_view.py +++ b/IPython/parallel/tests/test_view.py @@ -600,7 +600,7 @@ class TestView(ClusterTestCase, ParametricTestCase): ip.run_cell("ar.get(2)") self.assertEqual(io.stdout.count('ZeroDivisionError'), len(view) * 2, io.stdout) - self.assertEqual(io.stdout.count('integer division'), len(view), io.stdout) + self.assertEqual(io.stdout.count('by zero'), len(view), io.stdout) self.assertEqual(io.stdout.count(':execute'), len(view), io.stdout) @dec.skipif_not_matplotlib