From 011222a51264e5be8179c8c2c126b46b3c909100 2012-08-27 00:07:38 From: Min RK Date: 2012-08-27 00:07:38 Subject: [PATCH] Merge pull request #2347 from minrk/byzero adjust division error message checking to account for Python 3 fixes Python3-specific typo introduced #2305 --- 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