We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1a9e96 + 456b6f7 commit ffd8cf8Copy full SHA for ffd8cf8
nipype/pipeline/engine/tests/test_engine.py
@@ -484,9 +484,12 @@ def test_deep_nested_write_graph_runs(tmpdir):
484
except OSError:
485
pass
486
487
+import networkx
488
+# Format of the graph has slightly changed
489
+graph_str = '""' if int(networkx.__version__.split('.')[0]) == 1 else ''
490
491
# examples of dot files used in the following test
-dotfile_orig = ['strict digraph {\n',
492
+dotfile_orig = ['strict digraph ' + graph_str + ' {\n',
493
'"mod1 (engine)";\n',
494
'"mod2 (engine)";\n',
495
'"mod1 (engine)" -> "mod2 (engine)";\n',
0 commit comments