soft-matter / trackpy

Python particle tracking toolkit
http://soft-matter.github.io/trackpy
Other
445 stars 131 forks source link

FutureWarning: pandas.util.testing is deprecated #631

Closed ivanovmg closed 3 years ago

ivanovmg commented 4 years ago

Repro steps

  1. Clone repo, master branch
  2. Run unit tests: python -m unittest trackpy/tests/*.py
  3. Observe multiple instances of future warnings.
FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.

Looks like that pandas.testing is out there starting from 0.20.1 (https://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.20.0.html?highlight=utils%20testing#pandas-testing). According to travis.yml the minimum pandas version is 0.20.3, meaning that the imports in some tests should be changed accordingly.