From a7dfc6bfd72ff26a459a907842dacd35fffc28a4 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 13 Jul 2020 17:53:29 -0500 Subject: [PATCH 1/2] Don't engage Maxima debug log mode to work around encoding error --- test/test_maxima.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_maxima.py b/test/test_maxima.py index ddb5c76..336e545 100644 --- a/test/test_maxima.py +++ b/test/test_maxima.py @@ -145,8 +145,10 @@ def test_diff(): @pytest.mark.skipif(MAXIMA_UNAVAILABLE, reason="maxima cannot be launched") def test_long_command(knl): - from pymbolic.interop.maxima import set_debug - set_debug(4) + # Seems to fail with an encoding error on pexpect 4.8 and Py3.8. + # -AK, 2020-07-13 + #from pymbolic.interop.maxima import set_debug + #set_debug(4) knl.eval_str("+".join(["1"]*16384)) -- GitLab From 09b27fdbaa64b26f6536070b2508dee14982b933 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 13 Jul 2020 17:56:42 -0500 Subject: [PATCH 2/2] Placate flake8 --- test/test_maxima.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_maxima.py b/test/test_maxima.py index 336e545..441884c 100644 --- a/test/test_maxima.py +++ b/test/test_maxima.py @@ -147,8 +147,8 @@ def test_diff(): def test_long_command(knl): # Seems to fail with an encoding error on pexpect 4.8 and Py3.8. # -AK, 2020-07-13 - #from pymbolic.interop.maxima import set_debug - #set_debug(4) + # from pymbolic.interop.maxima import set_debug + # set_debug(4) knl.eval_str("+".join(["1"]*16384)) -- GitLab