Skip to content

Commit

Permalink
Trac #25333: Feature check for plantri is broken
Browse files Browse the repository at this point in the history
It should test for "1 triangulations written" instead of "1
triangulation written"

URL: https://trac.sagemath.org/25333
Reported by: jdemeyer
Ticket author(s): Frédéric Chapoton
Reviewer(s): Vincent Delecroix
  • Loading branch information
Release Manager authored and vbraun committed May 14, 2018
2 parents e59ca0b + 46b1f55 commit 83f3dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/features/graph_generators.py
Expand Up @@ -47,7 +47,7 @@ def is_functional(self):
return FeatureTestResult(self, False,
reason="Call `{command}` failed with exit code {e.returncode}".format(command=" ".join(command), e=e))

expected = "1 triangulation written"
expected = "1 triangulations written"
if lines.find(expected) == -1:
return FeatureTestResult(self, False,
reason = "Call `{command}` did not produce output which contains `{expected}`".format(command=" ".join(command), expected=expected))
Expand Down

0 comments on commit 83f3dcf

Please sign in to comment.