Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
#33734 minor style change following reviewer comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mezzarobba committed Apr 25, 2022
1 parent 43f9458 commit 0312ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/rings/polynomial/msolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0312ac6

Please sign in to comment.