From: Matthew Fernandez Date: Sun, 20 Feb 2022 00:37:25 +0000 (-0800) Subject: tests: recognize 'canon' as a textual format X-Git-Tag: 3.0.0~8^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8cfeb3e47b41dc01dfe2d3b19dfc5813501fa49;p=graphviz tests: recognize 'canon' as a textual format Gitlab: related to #2193 --- diff --git a/rtest/gvtest.py b/rtest/gvtest.py index 4bae0fea3..94fef9518 100644 --- a/rtest/gvtest.py +++ b/rtest/gvtest.py @@ -81,7 +81,7 @@ def dot(T: str, source_file: Optional[Path] = None, source: Optional[str] = None "one of `source_file` or `source` needs to be provided" # is the output format a textual format? - output_is_text = T in ("cmapx", "json", "pic", "svg", "xdot") + output_is_text = T in ("canon", "cmapx", "json", "pic", "svg", "xdot") kwargs = {} if output_is_text: