Skip to content

Commit f5e6f32

Browse files
authored
Merge pull request Pyomo#3298 from alma-walmsley/main
Ignore errors on ASL solver version check
2 parents b50cfac + c8bf131 commit f5e6f32

File tree

1 file changed

+2
-1
lines changed
  • pyomo/solvers/plugins/solvers

1 file changed

+2
-1
lines changed

pyomo/solvers/plugins/solvers/ASL.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ def _get_version(self):
101101
timeout=5,
102102
stdout=subprocess.PIPE,
103103
stderr=subprocess.STDOUT,
104-
universal_newlines=True,
104+
text=True,
105+
errors='ignore',
105106
)
106107
ver = _extract_version(results.stdout)
107108
if ver is None:

0 commit comments

Comments
 (0)