Skip to content

Commit

Permalink
Math: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed May 30, 2024
1 parent 7168542 commit 61a8a48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/Math/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,10 @@ def testCalcStrFloat(self):

def testCalcMemoryError(self):
self.assertRegexp('calc ' + '('*10000,
'(too much recursion' # cpython < 3.10
'|too many nested parentheses' # cpython >= 3.10
'|parenthesis is never closed)' # pypy
r"(too much recursion" # cpython < 3.10
r"|too many nested parentheses" # cpython >= 3.10
r"|parenthesis is never closed" # pypy for python < 3.10
r"|'\(' was never closed)" # pypy for python >= 3.10
)

def testICalc(self):
Expand Down

0 comments on commit 61a8a48

Please sign in to comment.