Fixed DeprecationWarning: using a non-integer number ....

It looks like this cause Travis-CI unittest error.