TST: py3 - float() argument must be a string or a number, not 'NoneType'