]> granicus.if.org Git - graphviz/commitdiff
test 1594: remove work around for #1780
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 1 Feb 2022 10:23:20 +0000 (21:23 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 4 Feb 2022 06:58:44 +0000 (17:58 +1100)
Issue #1780 was fixed in a286e358006dd49d2b3348abd8a2aebcffd24dec.

rtest/test_regression.py

index 5f41c54c3a214856cd9e9504d728e6984fe7f453..b12a4f785fd7037e065d5267f8dcde5b9054352e 100644 (file)
@@ -505,14 +505,10 @@ def test_1594():
   """
 
   # locate our associated test case in this directory
-# FIXME: remove cwd workaround when
-# https://gitlab.com/graphviz/graphviz/-/issues/1780 is fixed
-#    input = Path(__file__).parent / "1594.gvpr"
-  input = "1594.gvpr"
+  input = Path(__file__).parent / "1594.gvpr"
 
   # run GVPR with our (malformed) input program
   with subprocess.Popen(["gvpr", "-f", input], stdin=subprocess.PIPE,
-                        cwd=os.path.join(os.path.dirname(__file__)),
                         stdout=subprocess.PIPE, stderr=subprocess.PIPE,
                         universal_newlines=True) as p:
     _, stderr = p.communicate()