]> granicus.if.org Git - graphviz/commitdiff
tests: [nfc] conform with double quotes for strings in #1902
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 15 Feb 2022 20:36:47 +0000 (07:36 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 19 Feb 2022 02:07:44 +0000 (18:07 -0800)
rtest/test_regression.py

index 18d1fa8315582959b2da4f5c75de5a352e825a9b..e1467ac804ea660e5cc21a7a1813ecf26d7b3845 100644 (file)
@@ -793,18 +793,18 @@ def test_1898():
 
 @pytest.mark.xfail(strict=not is_ndebug_defined()) # FIXME
 def test_1902():
-  '''
+  """
   test a segfault from https://gitlab.com/graphviz/graphviz/-/issues/1902 has
   not reappeared
-  '''
+  """
 
   # locate our associated test case in this directory
-  input = Path(__file__).parent / '1902.dot'
-  assert input.exists(), 'unexpectedly missing test case'
+  input = Path(__file__).parent / "1902.dot"
+  assert input.exists(), "unexpectedly missing test case"
 
   # ask Graphviz to process it, which should generate a segfault if this bug
   # has been reintroduced
-  dot('svg', input)
+  dot("svg", input)
 
 # root directory of this checkout
 ROOT = Path(__file__).parent.parent.resolve()