From 6da0e7fc5f2ee7eeb11fd744f0500b32eef27c19 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 19 Sep 2020 10:38:07 +0200 Subject: [PATCH] Math: Fix test on Python 3.10 (nightly) --- .travis.yml | 2 +- plugins/Math/test.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1a57c9f5e..fdb89634a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,7 @@ matrix: env: WITH_OPT_DEPS=true dist: xenial - allow_failures: +# allow_failures: - python: "nightly" env: WITH_OPT_DEPS=true dist: xenial diff --git a/plugins/Math/test.py b/plugins/Math/test.py index 4db74465f..c0edadcfa 100644 --- a/plugins/Math/test.py +++ b/plugins/Math/test.py @@ -137,7 +137,8 @@ class MathTestCase(PluginTestCase): def testCalcMemoryError(self): 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 )