mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Math: Fix test on Python 3.10 (nightly)
This commit is contained in:
parent
49e03decc4
commit
6da0e7fc5f
@ -44,7 +44,7 @@ matrix:
|
|||||||
env: WITH_OPT_DEPS=true
|
env: WITH_OPT_DEPS=true
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
|
||||||
allow_failures:
|
# allow_failures:
|
||||||
- python: "nightly"
|
- python: "nightly"
|
||||||
env: WITH_OPT_DEPS=true
|
env: WITH_OPT_DEPS=true
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
@ -137,7 +137,8 @@ class MathTestCase(PluginTestCase):
|
|||||||
|
|
||||||
def testCalcMemoryError(self):
|
def testCalcMemoryError(self):
|
||||||
self.assertRegexp('calc ' + '('*10000,
|
self.assertRegexp('calc ' + '('*10000,
|
||||||
'(too much recursion' # cpython
|
'(too much recursion' # cpython < 3.10
|
||||||
|
'|too many nested parentheses' # cpython >= 3.10
|
||||||
'|parenthesis is never closed)' # pypy
|
'|parenthesis is never closed)' # pypy
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user