Remove 'DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future' warnings
Remove a couple more 'using a non-integer number instead of an integer DeprecationWarning'
Merge pull request #3433 from lesteve/remove-non-integer-deprecation-warnings

[MRG] Get rid of "DeprecationWarning: using a non-integer number instead of an integer" when running the tests