LxMLS / lxmls-toolkit

Machine Learning applied to Natural Language Processing Toolkit used in the Lisbon Machine Learning Summer School
Other
222 stars 216 forks source link

Ignore DeprecationWarning and PendingDeprecationWarning during tests. #145

Closed ChristopherBrix closed 5 years ago

ChristopherBrix commented 5 years ago

This is currently required, because matplotlib imports LooseVersion which imports imp, which is deprecated.

ChristopherBrix commented 5 years ago

My bad, I tested it locally with Py3.5, there, imp was causing a PendingDeprecationWarning. Here, on Py3.6, it's already a DeprecationWarning. I've disabled both now.

ramon-astudillo commented 5 years ago

This fixes https://github.com/LxMLS/lxmls-toolkit/issues/144 although we will have to find a better solution in the future