diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97d73356f..2345ef63a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/plugins/Math/test.py b/plugins/Math/test.py index 22578c9ed..160d8f768 100644 --- a/plugins/Math/test.py +++ b/plugins/Math/test.py @@ -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):