Skip to content

Commit b91ee6a

Browse files
committed
FIX: Networkx has changed its dotfile output again
1 parent 4615236 commit b91ee6a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

nipype/pipeline/engine/tests/test_engine.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -480,14 +480,9 @@ def test_deep_nested_write_graph_runs(tmpdir):
480480
pass
481481

482482

483-
import networkx
484-
485-
# Format of the graph has slightly changed
486-
graph_str = '""' if int(networkx.__version__.split(".")[0]) == 1 else ""
487-
488483
# examples of dot files used in the following test
489484
dotfile_orig = [
490-
"strict digraph " + graph_str + " {\n",
485+
"strict digraph {\n",
491486
'"mod1 (engine)";\n',
492487
'"mod2 (engine)";\n',
493488
'"mod1 (engine)" -> "mod2 (engine)";\n',

0 commit comments

Comments
 (0)