Prevent erroneous warning generated by tensors.py in interface Dipy

....py