ci: Bump Pypy version (#1575)

* ci: Bump Pypy version

* Math: update test

* cryptography doesn't work on pypy3.10
This commit is contained in:
Val Lorentz 2024-07-17 22:00:42 +02:00 committed by GitHub
parent b3f256681f
commit 9fceb85c41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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):