Skip to content

Commit

Permalink
Restore coverage in .model.gams
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Jul 8, 2024
1 parent e318943 commit c1febfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ixmp/model/gams.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ def __init__(self) -> None:
cwd=temp_dir,
universal_newlines=True,
)
except FileNotFoundError as e:
except FileNotFoundError as e: # pragma: no cover
log.warning(f"{e}")
output = ""

# Parse GAMS version from the copyright line
if match := re.search(r"^GAMS ([\d\.]+)\s*Copyright", output, re.MULTILINE):
Expand Down

0 comments on commit c1febfb

Please sign in to comment.