os-vif/releasenotes/notes/contextlib-and-nested-with-statements-2747a9ebb9a5bfd7.yaml
Sean Mooney 54172168e2 remove use of contextlib and with nested
- The use of contextlib and "with nested" statements are deprecated.
- This change remove the deprecation warning by refactoring all
  unit test that used "with neted" statements to create mocks via
  with the decorator syntax.
- This chage removes all depencies on contexlib.

trivial_fix

Change-Id: I6d929e59306f9289f717fff3fb79542e804396b6
2016-11-22 23:09:46 +00:00

7 lines
329 B
YAML

---
fixes:
- The use of contextlib and with nested statements is deprecated.
"with nested" statements are not python 3 compatible as with statement now directly
support context managers. The use of contextlib and "with nested" statements has
been removed from all unittests in favor of the @mock decorator syntax.