Traceback (most recent call last):

 "/usr/lib/python2.7/dist-packages/ansible/executor/task_executor.py", line 124, in run
res = self._execute()

 "/usr/lib/python2.7/dist-packages/ansible/executor/task_executor.py", line 448, in _execute
result = self._handler.run(task_vars=variables)

 "/usr/lib/python2.7/dist-packages/ansible/plugins/action/normal.py", line 33, in run
results = merge_hash(results, self._execute_module(tmp=tmp, task_vars=task_vars))

 "/usr/lib/python2.7/dist-packages/ansible/plugins/action/__init__.py", line 583, in _execute_module
(module_style, shebang, module_data) = self._configure_module(module_name=module_name, module_args=module_args, task_vars=task_vars)

 "/usr/lib/python2.7/dist-packages/ansible/plugins/action/__init__.py", line 149, in _configure_module
(module_data, module_style, module_shebang) = modify_module(module_name, module_path, module_args, task_vars=task_vars, module_compression=self._play_context.module_compression)

 "/usr/lib/python2.7/dist-packages/ansible/executor/module_common.py", line 733, in modify_module
(module_data, module_style, shebang) = _find_snippet_imports(module_name, module_data, module_path, module_args, task_vars, module_compression)

 "/usr/lib/python2.7/dist-packages/ansible/executor/module_common.py", line 576, in _find_snippet_imports
with lock:AttributeError: __exit__
Traceback (most recent call last):

 "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)

 "/home/parietal/dohmatob/CODE/FORKED/nilearn/nilearn/plotting/test/test_edge_detect.py", line 13, in test_edge_detect
_, edge_mask = _edge_detect(img)

 "/home/parietal/dohmatob/CODE/FORKED/nilearn/nilearn/plotting/edge_detect.py", line 94, in _edge_detect
high = thinned_grad > fast_abs_percentile(grad_values, 100*high_threshold)

 "/home/parietal/dohmatob/CODE/FORKED/nilearn/nilearn/_utils/fast_maths.py", line 28, in fast_abs_percentile
return map.sort()[index]TypeError: 'NoneType' object has no attribute '__getitem__'