mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Math: Fix test on Pypy.
This commit is contained in:
parent
78a50c81bd
commit
1a69a7b892
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user