From 0312ac6af931b936bdf0476f522078f6e55c2622 Mon Sep 17 00:00:00 2001 From: Marc Mezzarobba Date: Thu, 21 Apr 2022 17:46:42 +0200 Subject: [PATCH] #33734 minor style change following reviewer comment --- src/sage/rings/polynomial/msolve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sage/rings/polynomial/msolve.py b/src/sage/rings/polynomial/msolve.py index 6e0ccf4ead0..cbdf084cfa5 100644 --- a/src/sage/rings/polynomial/msolve.py +++ b/src/sage/rings/polynomial/msolve.py @@ -152,14 +152,14 @@ def _variety(ideal, ring, proof): print(*(pol._repr_().replace(" ", "") for pol in polys), sep=',\n', file=msolve_in) msolve_in.close() - msolve_out = subprocess.run(command, capture_output=True) + msolve_out = subprocess.run(command, capture_output=True, text=True) finally: os.unlink(msolve_in.name) msolve_out.check_returncode() # Interpret output - data = sage_eval(msolve_out.stdout[:-2].decode('ascii')) + data = sage_eval(msolve_out.stdout[:-2]) dim = data[0] if dim == -1: