Skip to content

Fix assertpy DeprecationWarning

  • Fix assertpy DeprecationWarning

Resolution

  • upgrade assertpy from 0.14.0 to 1.0 version
  • rebuild docker image with new requirements

Problem

DeprecationWarning at job #381187532

/usr/local/lib/python3.7/site-packages/assertpy/assertpy.py:1174: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
1037     if not isinstance(d, collections.Iterable):
1038 -- Docs: https://docs.pytest.org/en/latest/warnings.html
Edited by Aleksandr Kotlyar