@@ -25,9 +25,9 @@ def _check_no_et():
2525 import os
2626 from unittest .mock import patch
2727
28- et = os .getenv ("NO_NIPYPE_ET " ) is None
28+ et = os .getenv ("NIPYPE_NO_ET " ) is None
2929
30- with patch .dict ("os.environ" , {"NO_NIPYPE_ET " : "1" }):
30+ with patch .dict ("os.environ" , {"NIPYPE_NO_ET " : "1" }):
3131 from nipype .interfaces .base import BaseInterface
3232
3333 ver_data = BaseInterface ._etelemetry_version_data
@@ -67,13 +67,13 @@ def test_no_et(tmp_path):
6767 res = wf1 .run ()
6868 assert next (iter (res .nodes )).result .outputs .out is True
6969
70- # MultiProc run - environment initialized with NO_NIPYPE_ET
70+ # MultiProc run - environment initialized with NIPYPE_NO_ET
7171 wf2 = pe .Workflow (name = "wf2" , base_dir = str (tmp_path ))
7272 wf2 .add_nodes ([pe .Node (niu .Function (function = _check_no_et ), name = "n" )])
7373 res = wf2 .run (plugin = "MultiProc" , plugin_args = {"n_procs" : 1 })
7474 assert next (iter (res .nodes )).result .outputs .out is False
7575
76- # LegacyMultiProc run - environment initialized with NO_NIPYPE_ET
76+ # LegacyMultiProc run - environment initialized with NIPYPE_NO_ET
7777 wf3 = pe .Workflow (name = "wf3" , base_dir = str (tmp_path ))
7878 wf3 .add_nodes ([pe .Node (niu .Function (function = _check_no_et ), name = "n" )])
7979 res = wf3 .run (plugin = "LegacyMultiProc" , plugin_args = {"n_procs" : 1 })
@@ -93,7 +93,7 @@ def test_no_et(tmp_path):
9393 res = wf4 .run (plugin = "MultiProc" , plugin_args = {"n_procs" : 1 })
9494 assert next (iter (res .nodes )).result .outputs .out is True
9595
96- # LegacyMultiProc run - environment initialized with NO_NIPYPE_ET
96+ # LegacyMultiProc run - environment initialized with NIPYPE_NO_ET
9797 wf5 = pe .Workflow (name = "wf5" , base_dir = str (tmp_path ))
9898 wf5 .add_nodes (
9999 [
0 commit comments