##// END OF EJS Templates
adjust division error message checking to account for Python 3
MinRK -
Show More
@@ -600,7 +600,7 class TestView(ClusterTestCase, ParametricTestCase):
600 ip.run_cell("ar.get(2)")
600 ip.run_cell("ar.get(2)")
601
601
602 self.assertEqual(io.stdout.count('ZeroDivisionError'), len(view) * 2, io.stdout)
602 self.assertEqual(io.stdout.count('ZeroDivisionError'), len(view) * 2, io.stdout)
603 self.assertEqual(io.stdout.count('integer division'), len(view), io.stdout)
603 self.assertEqual(io.stdout.count('by zero'), len(view), io.stdout)
604 self.assertEqual(io.stdout.count(':execute'), len(view), io.stdout)
604 self.assertEqual(io.stdout.count(':execute'), len(view), io.stdout)
605
605
606 @dec.skipif_not_matplotlib
606 @dec.skipif_not_matplotlib
General Comments 0
You need to be logged in to leave comments. Login now