diff --git a/plugins/Math/test.py b/plugins/Math/test.py index f489b4e68..4db74465f 100644 --- a/plugins/Math/test.py +++ b/plugins/Math/test.py @@ -136,7 +136,10 @@ class MathTestCase(PluginTestCase): self.assertResponse('calc 3+33333333333333', '33333333333336') def testCalcMemoryError(self): - self.assertRegexp('calc ' + '('*500, 'too much recursion') + self.assertRegexp('calc ' + '('*10000, + '(too much recursion' # cpython + '|parenthesis is never closed)' # pypy + ) def testICalc(self): self.assertResponse('icalc 1^1', '0')