]> granicus.if.org Git - graphviz/commitdiff
Join path to C sourc file os-independently
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 7 Jul 2020 07:29:51 +0000 (09:29 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Sun, 12 Jul 2020 08:14:00 +0000 (10:14 +0200)
rtest/test_examples.py

index 3e6f4da20f8f090a58bbc62b805afbe2267fbcab..993722e026e68a8da0c2956318a17f1af81547c2 100644 (file)
@@ -19,7 +19,7 @@ def test_compile_example(src):
 
     # construct an absolute path to the example
     filepath = os.path.join(os.path.abspath(os.path.dirname(__file__)),
-      '../dot.demo', src)
+      '..', 'dot.demo', src)
 
     cc = c_compiler()