mirror of https://github.com/progval/Limnoria.git
ci: Bump Pypy version (#1575)
* ci: Bump Pypy version * Math: update test * cryptography doesn't work on pypy3.10
This commit is contained in:
parent
b3f256681f
commit
9fceb85c41
|
@ -33,6 +33,9 @@ jobs:
|
|||
- python-version: "3.10"
|
||||
with-opt-deps: false
|
||||
runs-on: ubuntu-22.04
|
||||
- python-version: "pypy-3.10"
|
||||
with-opt-deps: false
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
- python-version: "3.9"
|
||||
with-opt-deps: true
|
||||
|
|
|
@ -141,9 +141,10 @@ class MathTestCase(PluginTestCase):
|
|||
|
||||
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):
|
||||
|
|
Loading…
Reference in New Issue