]> granicus.if.org Git - graphviz/commitdiff
tests: recognize 'canon' as a textual format
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 20 Feb 2022 00:37:25 +0000 (16:37 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 23 Feb 2022 06:13:05 +0000 (22:13 -0800)
Gitlab: related to #2193

rtest/gvtest.py

index 4bae0fea322fd4f46b78d2b2f9613505789449a9..94fef95186c601c5eb91064663fbe621d8e38852 100644 (file)
@@ -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: